File: types.forAwait.esnext.3.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (27 lines) | stat: -rw-r--r-- 778 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=== tests/cases/conformance/types/forAwait/types.forAwait.esnext.3.ts ===
async function f1() {
>f1 : Symbol(f1, Decl(types.forAwait.esnext.3.ts, 0, 0))

    let y: number;
>y : Symbol(y, Decl(types.forAwait.esnext.3.ts, 1, 7))

    for await (const x of {}) {
>x : Symbol(x, Decl(types.forAwait.esnext.3.ts, 2, 20))
    }
    for await (y of {}) {
>y : Symbol(y, Decl(types.forAwait.esnext.3.ts, 1, 7))
    }
}
async function* f2() {
>f2 : Symbol(f2, Decl(types.forAwait.esnext.3.ts, 6, 1))

    let y: number;
>y : Symbol(y, Decl(types.forAwait.esnext.3.ts, 8, 7))

    for await (const x of {}) {
>x : Symbol(x, Decl(types.forAwait.esnext.3.ts, 9, 20))
    }
    for await (y of {}) {
>y : Symbol(y, Decl(types.forAwait.esnext.3.ts, 8, 7))
    }
}