@@ -134,8 +134,8 @@ class TypePath = M1::TypePath;
134134
135135module TypePath = M1:: TypePath;
136136
137- private module Input2 implements InputSig2< TypeMention > {
138- TypeMention getABaseTypeMention ( Type t ) { none ( ) }
137+ private module Input2 implements InputSig2< PreTypeMention > {
138+ PreTypeMention getABaseTypeMention ( Type t ) { none ( ) }
139139
140140 Type getATypeParameterConstraint ( TypeParameter tp , TypePath path ) {
141141 exists ( TypeMention tm | result = tm .getTypeAt ( path ) |
@@ -158,7 +158,7 @@ private module Input2 implements InputSig2<TypeMention> {
158158 * inference module for more information.
159159 */
160160 predicate conditionSatisfiesConstraint (
161- TypeAbstraction abs , TypeMention condition , TypeMention constraint , boolean transitive
161+ TypeAbstraction abs , PreTypeMention condition , PreTypeMention constraint , boolean transitive
162162 ) {
163163 // `impl` blocks implementing traits
164164 transitive = false and
@@ -208,7 +208,7 @@ private module Input2 implements InputSig2<TypeMention> {
208208 }
209209}
210210
211- private module M2 = Make2< TypeMention , Input2 > ;
211+ private module M2 = Make2< PreTypeMention , Input2 > ;
212212
213213import M2
214214
@@ -1960,7 +1960,7 @@ private module MethodResolution {
19601960 pragma [ nomagic]
19611961 predicate hasTypeQualifiedCandidate ( ImplItemNode impl ) {
19621962 exists ( getCallExprTypeQualifier ( this , _) ) and
1963- CallExprImpl:: getResolvedFunction ( this ) = impl .getASuccessor ( _ )
1963+ CallExprImpl:: getResolvedFunction ( this ) = impl .getADescendant ( )
19641964 }
19651965
19661966 pragma [ nomagic]
0 commit comments