We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3270404 commit a7d17e2Copy full SHA for a7d17e2
compiler/src/dotty/tools/dotc/core/Symbols.scala
@@ -328,6 +328,7 @@ trait Symbols { this: Context =>
328
// Note that this is a hack, but hack commonly used in Dotty
329
// The same thing is done by other completers all the time
330
denot.info = ttmap1.mapType(oinfo)
331
+ denot.annotations = odenot.annotations.mapConserve(ttmap1.apply)
332
}
333
334
@@ -337,7 +338,7 @@ trait Symbols { this: Context =>
337
338
initFlags = odenot.flags &~ (Frozen | Touched) | Fresh,
339
info = completer,
340
privateWithin = ttmap1.mapOwner(odenot.privateWithin), // since this refers to outer symbols, need not include copies (from->to) in ownermap here.
- annotations = odenot.annotations.mapConserve(ttmap1.apply))
341
+ annotations = odenot.annotations)
342
343
344
0 commit comments