Skip to content

Commit 5770d03

Browse files
committed
Mark arrow functions using super as also using this.
1 parent acb62ef commit 5770d03

File tree

1 file changed

+1
-1
lines changed
  • graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser

1 file changed

+1
-1
lines changed

graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/Parser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7561,7 +7561,7 @@ private void markSuperProperty() {
75617561
if (currentFunction.isMethod()) {
75627562
currentFunction.setFlag(FunctionNode.USES_SUPER);
75637563
addIdentifierReference(SUPER.getName());
7564-
addIdentifierReference(THIS.getName());
7564+
markThis();
75657565
}
75667566
}
75677567

0 commit comments

Comments
 (0)