mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
JS: Make implicit this receivers explicit
This commit is contained in:
@@ -25,7 +25,7 @@ module Linting {
|
||||
* Holds if this directive applies to `gva` and declares the variable it references.
|
||||
*/
|
||||
predicate declaresGlobalForAccess(GlobalVarAccess gva) {
|
||||
appliesTo(gva) and declaresGlobal(gva.getName(), _)
|
||||
this.appliesTo(gva) and this.declaresGlobal(gva.getName(), _)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user