v8/test/message/fail/modules-export-illformed-class.out
Georg Neis 66eaf9fe7d [parsing] Don't validate module if parsing failed.
Otherwise we might come across invalid locations.

Bug: chromium:923675
Change-Id: I0b01ba4b11cc7270744ec438bedb0b8ada2aa29d
Reviewed-on: https://chromium-review.googlesource.com/c/1426126
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59026}
2019-01-23 12:09:17 +00:00

6 lines
126 B
Plaintext

*%(basename)s:7: SyntaxError: Unexpected token ]
export class foo {[]};
^
SyntaxError: Unexpected token ]