mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +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.
|
||||
*/
|
||||
overlay[local]
|
||||
module;
|
||||
|
||||
import javascript
|
||||
|
||||
|
||||
Reference in New Issue
Block a user