ef52836cd8
In doing so, fix calls CheckAndRewriteReferenceExpression to take proper start and end positions (instead of just pointing at the first token in the LHS expression). BUG=v8:4370 LOG=n Review URL: https://codereview.chromium.org/1290013002 Cr-Commit-Position: refs/heads/master@{#30166}
5 lines
215 B
Plaintext
5 lines
215 B
Plaintext
*%(basename)s:7: ReferenceError: Invalid left-hand side expression in postfix operation
|
|
function f() { new.target++ }
|
|
^^^^^^^^^^
|
|
ReferenceError: Invalid left-hand side expression in postfix operation
|