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 4356333 commit 111e4a0Copy full SHA for 111e4a0
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -4369,7 +4369,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
4369
case tp => mapOver(tp)
4370
val pt1 = substCtxMap(pt.deepenProtoTrans(using newCtx))
4371
try {
4372
- isFullyDefined(pt1, ForceDegree.none, ifProto = true)(using newCtx)
+ !pt1.containsWildcardTypes(using newCtx)
4373
} catch {
4374
case _: UnhandledError => false
4375
}
0 commit comments