• caitpotter88's avatar
    [parser] make kInvalidLhsInFor a SyntaxError · 9b15445e
    caitpotter88 authored
    Second item in section 13.7.5.1 states that the error should be a
    SyntaxError, when previously CheckAndRewriteReferenceExpression
    would always emit a ReferenceError.
    
    BUG=v8:4373
    R=adamk, rossberg
    LOG=N
    CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
    
    Review URL: https://codereview.chromium.org/1292393002
    
    Cr-Commit-Position: refs/heads/master@{#30184}
    9b15445e
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...