7fc00d8aa6
This is a reland of89d93e3851
Original change's description: > Reland "Let all early errors be SyntaxErrors." > > This is a reland of99fd5b9b9d
which includes a missed update to > test/test262/test262.status. > > Implement the spec change from the following TC39 PR: > https://github.com/tc39/ecma262/pull/1527 > > Bug: v8:9326 > Change-Id: Ie3aac60db550e90fb648fc30886a05419fa41afe > TBR: adamk@chromium.org > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1682989 > Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> > Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> > Cr-Commit-Position: refs/heads/master@{#62500} Bug: v8:9326 Change-Id: Ic30280400dfa5b83a4a397888e563eee479446c5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1688271 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Tamer Tas <tmrts@chromium.org> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#62553}
5 lines
175 B
Plaintext
5 lines
175 B
Plaintext
*%(basename)s:5: SyntaxError: Invalid left-hand side in assignment
|
|
function f() { new.target = 5 }
|
|
^^^^^^^^^^
|
|
SyntaxError: Invalid left-hand side in assignment
|