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 09660b7 commit 89d17b9Copy full SHA for 89d17b9
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -1253,7 +1253,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
1253
val savedSuccessCount = successCount
1254
try
1255
recCount += 1
1256
- if recCount >= Config.LogPendingSubTypesThreshold then monitored = true
+ if recCount >= Config.LogPendingSubTypesThreshold && !ctx.settings.YnoDeepSubtypes.value then monitored = true
1257
val result = if monitored then monitoredIsSubType else firstTry
1258
recCount -= 1
1259
if !result then
0 commit comments