mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
//// [tests/cases/compiler/asyncIIFE.ts] ////
|
|
|
|
=== asyncIIFE.ts ===
|
|
function f1() {
|
|
>f1 : Symbol(f1, Decl(asyncIIFE.ts, 0, 0))
|
|
|
|
(async () => {
|
|
await 10
|
|
throw new Error();
|
|
>Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|
|
})();
|
|
|
|
var x = 1;
|
|
>x : Symbol(x, Decl(asyncIIFE.ts, 6, 7))
|
|
}
|
|
|