1 2 3 4 5 6 7 8 9 10
|
=== tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts ===
var foo = async (): Promise<void> => {
>foo : Symbol(foo, Decl(asyncArrowFunction8_es6.ts, 0, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncArrowFunction8_es6.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncArrowFunction8_es6.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncArrowFunction8_es6.ts, 0, 3))
}
|