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