v8/test/message/fail/nfe-yield-generator.out
Marja Hölttä 7f11bf4e90 [error messages] Enhance the "unexpected identifier" error message
Bug: chromium:1338838
Change-Id: I1b8c54b460d272b19a4faa180a491e725bee4b79
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3726147
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81658}
2022-07-12 06:44:27 +00:00

5 lines
143 B
Plaintext

*%(basename)s:5: SyntaxError: Unexpected identifier 'yield'
(function* yield() {})
^^^^^
SyntaxError: Unexpected identifier 'yield'