JS: Make implicit this receivers explicit

This commit is contained in:
Kasper Svendsen
2023-05-03 15:31:00 +02:00
parent ea75996932
commit 67950c8e6b
125 changed files with 1061 additions and 1002 deletions

View File

@@ -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(), _)
}
}
}