mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
30 lines
419 B
TypeScript
30 lines
419 B
TypeScript
// @target: es2022
|
|
|
|
class C1 {
|
|
accessor a0 = 1;
|
|
}
|
|
|
|
class C2 {
|
|
#a1_accessor_storage = 1;
|
|
accessor a1 = 2;
|
|
}
|
|
|
|
class C3 {
|
|
static #a2_accessor_storage = 1;
|
|
static {
|
|
class C3_Inner {
|
|
accessor a2 = 2;
|
|
static {
|
|
#a2_accessor_storage in C3;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class C4_1 {
|
|
static accessor a3 = 1;
|
|
}
|
|
|
|
class C4_2 {
|
|
static accessor a3 = 1;
|
|
} |