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 6a2a649 commit 49e2bcdCopy full SHA for 49e2bcd
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -1257,7 +1257,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
1257
val savedSuccessCount = successCount
1258
try
1259
recCount += 1
1260
- if recCount >= Config.LogPendingSubTypesThreshold then monitored = true
+ if recCount >= Config.LogPendingSubTypesThreshold && !ctx.settings.YnoDeepSubtypes.value then monitored = true
1261
val result = if monitored then monitoredIsSubType else firstTry
1262
recCount -= 1
1263
if !result then
0 commit comments