swc/bundler/tests/fixture/issue-1150-2/output/entry.inlined.ts
강동윤 7f5bfdcc00
fix(bundler): Fix bugs (#1382)
swc_bundler:
 - Improve performance
 - Use `Vec<AHashSet<usize>>` instead of `AHashSet<(usize, usize)>`.
 - Fix statement orderings. (denoland/deno#9464) 
 - Fix wrapped esm mixed with circular imports. (denoland/deno#8224)
 - Store content of wrapped esm at top level. (denoland/deno#8224)
2021-02-22 17:27:40 +09:00

31 lines
448 B
TypeScript

function a() {
console.log("a");
}
var O1;
(function(O1) {
O1[O1["A"] = 0] = "A";
O1[O1["B"] = 1] = "B";
O1[O1["C"] = 2] = "C";
})(O1 || (O1 = {
}));
export { O1 as O };
class A {
#a;
#c;
constructor(o = {
}){
const { a: a1 = a , c , } = o;
this.#a = a1;
this.#c = c;
}
a() {
this.#a();
}
c() {
console.log(this.#c);
}
}
let a2 = new A();
a2.a();
a2.c();