mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
9 lines
165 B
TypeScript
9 lines
165 B
TypeScript
// @strict: true
|
|
// @target: es6
|
|
|
|
class A {
|
|
#foo = this.#bar;
|
|
#bar = this.#foo;
|
|
["#baz"] = this["#baz"]; // Error (should *not* be private name error)
|
|
}
|