super is only allowed in methods, accessors and constructor
super() is only allowed in a class constructor. super.p is allowed in methods, accessors and constructors. The parser now checks the FunctionState to see what kind of function we are currently inside. BUG=v8:3330 LOG=N R=dslomov@chromium.org, marja@chromium.org Review URL: https://codereview.chromium.org/915563003 Cr-Commit-Position: refs/heads/master@{#26557}
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment