Skip to content

Commit 15c7428

Browse files
committed
Address review comment
1 parent 05ce686 commit 15c7428

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

shared/typeinference/codeql/typeinference/internal/TypeInference.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,8 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
15291529
SatisfiesParameterConstraint::satisfiesConstraint(MkRelevantAccess(a,
15301530
pragma[only_bind_into](apos), e),
15311531
MkRelevantTarget(target, pragma[only_bind_into](apos)), pathToTp.appendInverse(path),
1532-
t)
1532+
t) and
1533+
not exists(getTypeArgument(a, target, tp, _))
15331534
)
15341535
}
15351536
}

0 commit comments

Comments
 (0)