mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
11 lines
194 B
TypeScript
11 lines
194 B
TypeScript
|
// @target: esnext
|
||
|
// @useDefineForClassFields: true
|
||
|
class B {};
|
||
|
class A extends B {
|
||
|
#x;
|
||
|
constructor() {
|
||
|
void 0; // Error: 'super' call must come first
|
||
|
super();
|
||
|
}
|
||
|
}
|