* [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
7 lines
59 B
JavaScript
7 lines
59 B
JavaScript
class A {
|
|
#x;
|
|
meth() {
|
|
var prop = foo.#priv;
|
|
}
|
|
}
|