mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
8a01e2b7b6
swc_ecma_transforms: - Add tests for #898 - dce preserves `export * from 'foo';` swc_bundler: - Fix some concurrency bugs - Run dce only once - Handle `export * from 'foo'` - Handle namespace imports with computed key - Add some unit tests for `plan` - Handle export default decl - Handle simple coomon dependencies properly
10 lines
116 B
JavaScript
10 lines
116 B
JavaScript
console.log('c');
|
|
class A {
|
|
method() {
|
|
return new B();
|
|
}
|
|
}
|
|
class B extends A {
|
|
}
|
|
console.log(A, B);
|