@@ -694,38 +694,8 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
694694 exists ( Type t , TypePath path |
695695 t = resolveNthTypeAt ( app , abs , tm , _, path ) and
696696 not t = abs .getATypeParameter ( ) and
697- not path .isEmpty ( ) and
698697 app .getTypeAt ( path ) != t
699698 )
700- // or
701- // // `app` uses inconsistent type parameter instantiations
702- // exists(TypeParameter tp, Type t1, Type t2 |
703- // potentialInstantiationOf(app, abs, tm) and
704- // t1 = app.getTypeAt(getNthTypeParameterPath(tm, tp, _)) and
705- // t2 = app.getTypeAt(getNthTypeParameterPath(tm, tp, _)) and
706- // t1 != t2
707- // )
708- }
709-
710- /**
711- * Holds if `app` is _not_ a possible instantiation of `tm`.
712- */
713- pragma [ nomagic]
714- predicate isNotInstantiationOfStrict ( App app , TypeAbstraction abs , Constraint tm ) {
715- // `app` and `tm` differ on a concrete type
716- exists ( Type t , TypePath path |
717- t = resolveNthTypeAt ( app , abs , tm , _, path ) and
718- not t = abs .getATypeParameter ( ) and
719- app .getTypeAt ( path ) != t
720- )
721- // or
722- // // `app` uses inconsistent type parameter instantiations
723- // exists(TypeParameter tp, Type t1, Type t2 |
724- // potentialInstantiationOf(app, abs, tm) and
725- // t1 = app.getTypeAt(getNthTypeParameterPath(tm, tp, _)) and
726- // t2 = app.getTypeAt(getNthTypeParameterPath(tm, tp, _)) and
727- // t1 != t2
728- // )
729699 }
730700 }
731701
0 commit comments