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 e49b214 commit 2e159c3Copy full SHA for 2e159c3
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -603,8 +603,6 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
603
}
604
case tp1 @ AppliedType(tycon1, args1) =>
605
compareAppliedType1(tp1, tycon1, args1)
606
- case tp1: AppliedTermRef =>
607
- isSubType(tp1.resType, tp2)
608
case tp1: SingletonType =>
609
/** if `tp2 == p.type` and `p: q.type` then try `tp1 <:< q.type` as a last effort.*/
610
def comparePaths = tp2 match {
0 commit comments