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 2babe93 commit 45ea630Copy full SHA for 45ea630
src/dotty/tools/dotc/core/TypeComparer.scala
@@ -488,7 +488,7 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
488
case _ => tp2 isRef ObjectClass
489
}
490
compareJavaArray
491
- case tp1: ExprType if ctx.phase.id >= ctx.gettersPhase.id =>
+ case tp1: ExprType if ctx.phase.id > ctx.gettersPhase.id =>
492
// getters might have converted T to => T, need to compensate.
493
isSubType(tp1.widenExpr, tp2)
494
case _ =>
0 commit comments