@@ -134,12 +134,8 @@ class TypePath = M1::TypePath;
134134
135135module TypePath = M1:: TypePath;
136136
137- private module Input2 implements InputSig2 {
138- private import TypeMention as TM
139-
140- class TypeMention = TM:: TypeMention ;
141-
142- TypeMention getABaseTypeMention ( Type t ) { none ( ) }
137+ private module Input2 implements InputSig2< TypeMentionTypeTree > {
138+ TypeMentionTypeTree getABaseTypeMention ( Type t ) { none ( ) }
143139
144140 Type getATypeParameterConstraint ( TypeParameter tp , TypePath path ) {
145141 exists ( TypeMention tm | result = tm .resolveTypeAt ( path ) |
@@ -162,7 +158,8 @@ private module Input2 implements InputSig2 {
162158 * inference module for more information.
163159 */
164160 predicate conditionSatisfiesConstraint (
165- TypeAbstraction abs , TypeMention condition , TypeMention constraint , boolean transitive
161+ TypeAbstraction abs , TypeMentionTypeTree condition , TypeMentionTypeTree constraint ,
162+ boolean transitive
166163 ) {
167164 // `impl` blocks implementing traits
168165 transitive = false and
@@ -212,7 +209,7 @@ private module Input2 implements InputSig2 {
212209 }
213210}
214211
215- private module M2 = Make2< Input2 > ;
212+ private module M2 = Make2< TypeMentionTypeTree , Input2 > ;
216213
217214import M2
218215
0 commit comments