mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +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();
|
|
}
|
|
}
|