@@ -1160,7 +1160,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
11601160
11611161 pragma [ nomagic]
11621162 private predicate directTypeMatch0 (
1163- Access a , AccessEnvironment e , Declaration target , DeclarationPosition dpos ,
1163+ Access a , DeclarationPosition dpos , AccessEnvironment e , Declaration target ,
11641164 TypePath pathToTypeParam , TypeParameter tp
11651165 ) {
11661166 not exists ( getTypeArgument ( a , target , tp , _) ) and
@@ -1177,7 +1177,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
11771177 Access a , AccessEnvironment e , Declaration target , TypePath path , Type t , TypeParameter tp
11781178 ) {
11791179 exists ( AccessPosition apos , DeclarationPosition dpos , TypePath pathToTypeParam |
1180- directTypeMatch0 ( a , e , target , dpos , pathToTypeParam , tp ) and
1180+ directTypeMatch0 ( a , dpos , e , target , pathToTypeParam , tp ) and
11811181 accessDeclarationPositionMatch ( apos , dpos ) and
11821182 t = a .getInferredType ( e , apos , pathToTypeParam .appendInverse ( path ) )
11831183 )
0 commit comments