v8/test/message/let-lexical-name-in-array-prohibited.out
littledan b802051df2 Fix let pattern error accumulation
When the checker was added prohibiting lexical binding called let,
certain error propagation was not implemented properly. This patch
fixes that issue, which fixes error checking for cases such as
  let [let]

BUG=v8:4403
R=adamk
LOG=N

Review URL: https://codereview.chromium.org/1409613003

Cr-Commit-Position: refs/heads/master@{#31289}
2015-10-15 10:46:17 +00:00

6 lines
152 B
Plaintext

*%(basename)s:7: SyntaxError: let is disallowed as a lexically bound name
let [let];
^^^
SyntaxError: let is disallowed as a lexically bound name