mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +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)
|
|
}
|