• gsathya's avatar
    [parser] Allow duplicate __proto__ keys in patterns · fc52e323
    gsathya authored
    This patch subsumes CoverInitializedNameProduction to create an ObjectLiteralProduction which is now used to report the duplicate proto error as well.
    
    This patch also changes ObjectLiteralChecker::CheckProperty
    to record an ObjectLiteralProduction error instead of
    bailing out immediately. Once we realize that we're in a
    pattern, we rewind the error, otherwise we report the
    error.
    
    BUG=v8:5121
    
    Review-Url: https://codereview.chromium.org/2255353002
    Cr-Commit-Position: refs/heads/master@{#38764}
    fc52e323
Name
Last commit
Last update
..
BUILD.gn Loading commit data...
README Loading commit data...
archive.py Loading commit data...
detachArrayBuffer.js Loading commit data...
harness-adapt.js Loading commit data...
list.py Loading commit data...
test262.gyp Loading commit data...
test262.isolate Loading commit data...
test262.status Loading commit data...
testcfg.py Loading commit data...