File: emitter.forAwait.es2015.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 (80 lines) | stat: -rw-r--r-- 2,109 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
=== tests/cases/conformance/emitter/es2015/forAwait/file1.ts ===
async function f1() {
>f1 : Symbol(f1, Decl(file1.ts, 0, 0))

    let y: any;
>y : Symbol(y, Decl(file1.ts, 1, 7))

    for await (const x of y) {
>x : Symbol(x, Decl(file1.ts, 2, 20))
>y : Symbol(y, Decl(file1.ts, 1, 7))
    }
}
=== tests/cases/conformance/emitter/es2015/forAwait/file2.ts ===
async function f2() {
>f2 : Symbol(f2, Decl(file2.ts, 0, 0))

    let x: any, y: any;
>x : Symbol(x, Decl(file2.ts, 1, 7))
>y : Symbol(y, Decl(file2.ts, 1, 15))

    for await (x of y) {
>x : Symbol(x, Decl(file2.ts, 1, 7))
>y : Symbol(y, Decl(file2.ts, 1, 15))
    }
}
=== tests/cases/conformance/emitter/es2015/forAwait/file3.ts ===
async function* f3() {
>f3 : Symbol(f3, Decl(file3.ts, 0, 0))

    let y: any;
>y : Symbol(y, Decl(file3.ts, 1, 7))

    for await (const x of y) {
>x : Symbol(x, Decl(file3.ts, 2, 20))
>y : Symbol(y, Decl(file3.ts, 1, 7))
    }
}
=== tests/cases/conformance/emitter/es2015/forAwait/file4.ts ===
async function* f4() {
>f4 : Symbol(f4, Decl(file4.ts, 0, 0))

    let x: any, y: any;
>x : Symbol(x, Decl(file4.ts, 1, 7))
>y : Symbol(y, Decl(file4.ts, 1, 15))

    for await (x of y) {
>x : Symbol(x, Decl(file4.ts, 1, 7))
>y : Symbol(y, Decl(file4.ts, 1, 15))
    }
}
=== tests/cases/conformance/emitter/es2015/forAwait/file5.ts ===
// https://github.com/Microsoft/TypeScript/issues/21363
async function f5() {
>f5 : Symbol(f5, Decl(file5.ts, 0, 0))

    let y: any;
>y : Symbol(y, Decl(file5.ts, 2, 7))

    outer: for await (const x of y) {
>x : Symbol(x, Decl(file5.ts, 3, 27))
>y : Symbol(y, Decl(file5.ts, 2, 7))

        continue outer;
    }
}
=== tests/cases/conformance/emitter/es2015/forAwait/file6.ts ===
// https://github.com/Microsoft/TypeScript/issues/21363
async function* f6() {
>f6 : Symbol(f6, Decl(file6.ts, 0, 0))

    let y: any;
>y : Symbol(y, Decl(file6.ts, 2, 7))

    outer: for await (const x of y) {
>x : Symbol(x, Decl(file6.ts, 3, 27))
>y : Symbol(y, Decl(file6.ts, 2, 7))

        continue outer;
    }
}