mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
17 lines
305 B
TypeScript
17 lines
305 B
TypeScript
// https://github.com/microsoft/TypeScript/issues/44872
|
|
|
|
void class Foo {
|
|
static prop = 1
|
|
static {
|
|
console.log(Foo.prop);
|
|
Foo.prop++;
|
|
}
|
|
static {
|
|
console.log(Foo.prop);
|
|
Foo.prop++;
|
|
}
|
|
static {
|
|
console.log(Foo.prop);
|
|
Foo.prop++;
|
|
}
|
|
} |