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 c53297c commit 2492300Copy full SHA for 2492300
compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -790,7 +790,6 @@ class Namer { typer: Typer =>
790
if (Config.showCompletions && ctx.typerState != creationContext.typerState) {
791
def levels(c: Context): Int =
792
if (c.typerState eq creationContext.typerState) 0
793
- else if ((c.typerState: TyperState | Null) == null) -1
794
else if (c.outer.typerState == c.typerState) levels(c.outer)
795
else levels(c.outer) + 1
796
println(s"!!!completing ${denot.symbol.showLocated} in buried typerState, gap = ${levels(ctx)}")
0 commit comments