We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d66761 commit 119de6cCopy full SHA for 119de6c
java/ql/src/utils/FlowTestCaseSupportMethods.qll
@@ -383,7 +383,7 @@ private class ArrayGenMethod extends GenMethod {
383
ArrayGenMethod() { this = type.getName() + "genmethod" }
384
385
override predicate appliesTo(Type t, Content c) {
386
- t = type and
+ replaceTypeVariable(t.(Array).getElementType()) = type.getElementType() and
387
c instanceof ArrayContent
388
}
389
0 commit comments