* [parser] Add private names tracking to Scope - Disallow duplicate private names - Disallow undeclared private names * Update tests * Test all possible duplications * Test undeclared private names * Better error message for top-level private names * Fix flow * Update test262 whitelist * Update fixtures * Update flow whitelist * Remove old output.json * Move ClassScopeHandler to a separate class * Make the code readable
4 lines
36 B
JavaScript
4 lines
36 B
JavaScript
class A {
|
|
set #x(_) {}
|
|
#x = 0;
|
|
} |