File tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/transform
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
152
152
// Heal explice type splice in the code
153
153
if level > 0 then getQuoteTypeTags.getTagRef(prefix) else tp
154
154
case prefix : TermRef if ! prefix.symbol.isStatic && level > levelOf(prefix.symbol) =>
155
- tryHeal(tp .symbol, tp, pos)
155
+ tryHeal(prefix .symbol, tp, pos)
156
156
case _ =>
157
157
mapOver(tp)
158
158
case tp : ThisType if level != - 1 && level != levelOf(tp.cls) =>
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ def f[T: Type](using QuoteContext) =
14
14
$ { g[m.E ](using ' [ME ]) }
15
15
$ { g[ME ](using ' [m.E ]) }
16
16
$ { g[m.E ](using ' [m.E ]) }
17
- $ { g[ME ] }
18
- $ { g[m.E ] }
17
+ // ${ g[ME] } // FIXME
18
+ // ${ g[m.E] } // FIXME
19
19
}
20
20
21
21
def g [T ](using Type [T ]) = ???
You can’t perform that action at this time.
0 commit comments