File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,7 @@ trait Symbols { this: Context =>
328
328
// Note that this is a hack, but hack commonly used in Dotty
329
329
// The same thing is done by other completers all the time
330
330
denot.info = ttmap1.mapType(oinfo)
331
+ denot.annotations = odenot.annotations.mapConserve(ttmap1.apply)
331
332
}
332
333
}
333
334
@@ -337,7 +338,7 @@ trait Symbols { this: Context =>
337
338
initFlags = odenot.flags &~ (Frozen | Touched ) | Fresh ,
338
339
info = completer,
339
340
privateWithin = ttmap1.mapOwner(odenot.privateWithin), // since this refers to outer symbols, need not include copies (from->to) in ownermap here.
340
- annotations = odenot.annotations.mapConserve(ttmap1.apply) )
341
+ annotations = odenot.annotations)
341
342
342
343
}
343
344
You can’t perform that action at this time.
0 commit comments