v8/test/cctest/parsing
Toon Verwaest dde5e3a134 [parser] Detect duplciate lexical declarations in preparser
This changes how rewind upon preparser abort works. It now rewinds to the start
of the parameter scope. In the case of "function X(" it is before the "(". In
the case of arrow functions it's before the start of the arrow function. This
allows us to reparse the arrow function from the start so all parameters are
declared properly.

Bug: v8:2728, v8:7390
Change-Id: I1c40056a49ec198560e63cd73949a59221ee0401
Reviewed-on: https://chromium-review.googlesource.com/c/1382736
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58332}
2018-12-18 16:32:28 +00:00
..
test-parse-decision.cc [ubsan] Port SharedFunctionInfo to the new design 2018-11-28 21:23:50 +00:00
test-preparser.cc [ubsan] Port ByteArray and subclasses to the new design 2018-11-24 09:29:14 +00:00
test-scanner-streams.cc [ubsan] Port Name/String/Symbol to the new design 2018-11-27 01:42:36 +00:00
test-scanner.cc [parser] Detect duplciate lexical declarations in preparser 2018-12-18 16:32:28 +00:00