autoformat

This commit is contained in:
Erik Krogh Kristensen
2020-03-23 14:10:07 +01:00
parent 2c43d1d731
commit 7bc7ffffd6

View File

@@ -118,8 +118,9 @@ class Function extends @function, Parameterized, TypeParameterized, StmtContaine
/** Holds if the body of this function refers to the function's `arguments` variable. */
predicate usesArgumentsObject() {
exists(getArgumentsVariable().getAnAccess()) or
exists(PropAccess read |
exists(getArgumentsVariable().getAnAccess())
or
exists(PropAccess read |
read.getBase() = getVariable().getAnAccess() and
read.getPropertyName() = "arguments"
)