Skip to content

Commit 111e4a0

Browse files
committed
use containsWildcardTypes
1 parent 4356333 commit 111e4a0

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
@@ -4369,7 +4369,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
43694369
case tp => mapOver(tp)
43704370
val pt1 = substCtxMap(pt.deepenProtoTrans(using newCtx))
43714371
try {
4372-
isFullyDefined(pt1, ForceDegree.none, ifProto = true)(using newCtx)
4372+
!pt1.containsWildcardTypes(using newCtx)
43734373
} catch {
43744374
case _: UnhandledError => false
43754375
}

0 commit comments

Comments
 (0)