Stop emitting kSloppyLexical errors when --harmony-sloppy-let is enabled
This changes the error message for code like: if (false) let x; from "Block-scoped declarations (let, const, function, class) not yet supported outside strict mode" to "Unexpected identifier" (pointing at |x|). Review URL: https://codereview.chromium.org/1356783002 Cr-Commit-Position: refs/heads/master@{#30834}
Showing
Please
register
or
sign in
to comment