Skip to content

Commit 5dd87e3

Browse files
committed
JS: Add overlay[local] to restore magic in unwrap() predicate
In this case we actually want magic to apply, but was prevented by locality.
1 parent ac3913e commit 5dd87e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/lib/LanguageFeatures/UnusedIndexVariable.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides a predicate for identifying unused index variables in loops.
33
*/
4+
overlay[local]
5+
module;
46

57
import javascript
68

0 commit comments

Comments
 (0)