mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Add overlay[local] to restore magic in unwrap() predicate
In this case we actually want magic to apply, but was prevented by locality.
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* Provides a predicate for identifying unused index variables in loops.
|
* Provides a predicate for identifying unused index variables in loops.
|
||||||
*/
|
*/
|
||||||
|
overlay[local]
|
||||||
|
module;
|
||||||
|
|
||||||
import javascript
|
import javascript
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user