Skip to content

Commit dcfc027

Browse files
committed
Java: Fix bad magic.
1 parent 73ee740 commit dcfc027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/src/semmle/code/java/Collections.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ predicate instantiates(RefType t, GenericType g, int i, RefType arg) {
3535
* - a class `MyIntMap<V> extends HashMap<Integer, V>` instantiates `Map` (among others)
3636
* with the `0`-th type parameter being `Integer` and the `1`-th type parameter being `V`.
3737
*/
38+
pragma[nomagic]
3839
predicate indirectlyInstantiates(RefType t, GenericType g, int i, RefType arg) {
3940
instantiates(t, g, i, arg)
4041
or

0 commit comments

Comments
 (0)