* fix: disallow private name in object member and TS type elements * chore: update test262 whitelist * chore: make flow happy * Update packages/babel-parser/src/parser/expression.js Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> * chore: update test fixtures * Update packages/babel-parser/src/parser/expression.js Co-Authored-By: Brian Ng <bng412@gmail.com> * chore: update test fixtures Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Brian Ng <bng412@gmail.com>
5 lines
47 B
JavaScript
5 lines
47 B
JavaScript
class C {
|
|
#x = 1;
|
|
#p = ({ #x: x }) => {}
|
|
}
|