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 7061975 commit 9a56874Copy full SHA for 9a56874
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2770,7 +2770,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
2770
* @pre !(tp1 <: tp2) && !(tp2 <:< tp1) -- these cases were handled before
2771
*/
2772
private def distributeAnd(tp1: Type, tp2: Type): Type = tp1 match {
2773
- case tp1 @ AppliedType(tycon1, args1) =>
+ case tp1 @ AppliedType(tycon1, args1) if false =>
2774
tp2 match {
2775
case AppliedType(tycon2, args2)
2776
if tycon1.typeSymbol == tycon2.typeSymbol && tycon1 =:= tycon2 =>
0 commit comments