* 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>
7 lines
60 B
JavaScript
7 lines
60 B
JavaScript
class C {
|
|
#x = 1;
|
|
m() {
|
|
const {#x: x} = this;
|
|
}
|
|
}
|