v8/test
Joyee Cheung 9ace845f6c [ast] simplify ClassScope::ResolvePrivateNamesPartially
Previously when an unresolved private name is not found
in the current scope but found in an outer class scope,
we forget to push it to the outer class scope so the
name would never get bound.

This patch simplifies ClassScope::ResolvePrivateNamesPartially()
and removes the search in outer class scopes since they are incomplete
at this point. Instead just push any private name that can't be
resolved in the current scope to the outer class scope so that it
gets handled later when the outer class scope is complete.

Bug: chromium:952722
Change-Id: Ia0dda74cac57a0a1e25a9a09575f55633c6093b5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1567709
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/master@{#60863}
2019-04-16 11:08:40 +00:00
..
benchmarks Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
cctest [compiler] Don't collect source positions when throwing exceptions 2019-04-15 14:10:15 +00:00
common [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
debugger Redirect BytecodeArray pointers on stack when clearing DebugInfo 2019-04-11 13:01:44 +00:00
fuzzer [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
inspector [wasm] Remove sequential compilation path 2019-04-10 11:02:27 +00:00
intl Split out tests of "bn" locale to a different file. 2019-04-11 16:13:52 +00:00
js-perf-test [tools] Implement retry mechanism for failures and use it for some flaky tests 2019-04-12 12:25:44 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [ast] Refactor resolution of private names 2019-04-09 23:45:14 +00:00
mjsunit [ast] simplify ClassScope::ResolvePrivateNamesPartially 2019-04-16 11:08:40 +00:00
mkgrokdump Revert "[heap] Skip ro-space from heap iterators, add CombinedHeapIterator." 2019-04-12 16:38:00 +00:00
mozilla [torque]: Allow const-qualified struct and class fields 2019-04-03 10:55:33 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 Update V8 DEPS. 2019-04-15 11:23:24 +00:00
torque [torque] add references to HeapObject fields. 2019-04-11 14:11:18 +00:00
unittests Reland^3 "[torque] Throw exception instead of aborting if something goes wrong" 2019-04-16 10:41:20 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update core spec tests 2019-03-28 15:25:12 +00:00
webkit [test] Test more wasm variants 2019-04-09 13:41:52 +00:00
BUILD.gn [cctest] Enable shared linking for cctest 2019-04-09 12:12:19 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00