File tree 1 file changed +5
-1
lines changed
compiler/src/dotty/tools/dotc/core 1 file changed +5
-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
@@ -381,6 +382,9 @@ object Symbols {
381
382
type ThisName <: Name
382
383
383
384
// assert(id != 4285)
385
+ if (id == 25782 ) {
386
+ println(" dss" )
387
+ }
384
388
385
389
/** The last denotation of this symbol */
386
390
private [this ] var lastDenot : SymDenotation = _
You can’t perform that action at this time.
0 commit comments