Skip to content

Commit 01c8620

Browse files
committed
use new ctx in isFullyDefined
1 parent 53563a7 commit 01c8620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4363,7 +4363,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
43634363
val newCtx = ctx.fresh.setNewScope.setReporter(new reporting.ThrowingReporter(NoReporter))
43644364
val pt1 = pt.deepenProtoTrans(using newCtx)
43654365
try {
4366-
isFullyDefined(pt1, ForceDegree.none, ifProto = true)
4366+
isFullyDefined(pt1, ForceDegree.none, ifProto = true)(using newCtx)
43674367
} catch {
43684368
case _: UnhandledError => false
43694369
}

0 commit comments

Comments
 (0)