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 165b7d8 commit 5442a4fCopy full SHA for 5442a4f
compiler/src/dotty/tools/dotc/transform/ContextFunctionResults.scala
@@ -121,7 +121,7 @@ object ContextFunctionResults:
121
*/
122
def integrateSelect(tree: untpd.Tree, n: Int = 0)(using Context): Boolean =
123
if ctx.erasedTypes then
124
- integrateSelect(tree, n)(using ctx.withPhase(erasurePhase))
+ atPhase(erasurePhase)(integrateSelect(tree, n))
125
else tree match
126
case Select(qual, name) =>
127
if name == nme.apply && defn.isContextFunctionClass(tree.symbol.maybeOwner) then
0 commit comments