File: capturedLetConstInLoop9_ES6.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 (269 lines) | stat: -rw-r--r-- 8,104 bytes parent folder | download | duplicates (5)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
=== tests/cases/compiler/capturedLetConstInLoop9_ES6.ts ===
for (let x = 0; x < 1; ++x) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 0, 8))
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 0, 8))
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 0, 8))

    let x;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 1, 7))

    (function() { return x });
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 1, 7))
    {
        let x;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 4, 11))

        (function() { return x });
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 4, 11))
    }

    try { }
    catch (e) {
>e : Symbol(e, Decl(capturedLetConstInLoop9_ES6.ts, 9, 11))

        let x;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 10, 11))

        (function() { return x });
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 10, 11))
    }

    switch (x) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 1, 7))

        case 1:
            let x;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 16, 15))

            (function() { return x });
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 16, 15))

           break;
    }
    
    while (1 == 1) {
        let x;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 22, 11))

        (function() { return x });
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 22, 11))
    }
    
    class A {
>A : Symbol(A, Decl(capturedLetConstInLoop9_ES6.ts, 24, 5))

        m() {
>m : Symbol(A.m, Decl(capturedLetConstInLoop9_ES6.ts, 26, 13))

            return x + 1;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 1, 7))
        }
    }
}

declare function use(a: any);
>use : Symbol(use, Decl(capturedLetConstInLoop9_ES6.ts, 31, 1))
>a : Symbol(a, Decl(capturedLetConstInLoop9_ES6.ts, 33, 21))

function foo() {
>foo : Symbol(foo, Decl(capturedLetConstInLoop9_ES6.ts, 33, 29))

    l0:
    for (let a of []) {
>a : Symbol(a, Decl(capturedLetConstInLoop9_ES6.ts, 37, 12))
        
        if (a === 1) {
>a : Symbol(a, Decl(capturedLetConstInLoop9_ES6.ts, 37, 12))

            break;
        }
        
        if (a === 2) {
>a : Symbol(a, Decl(capturedLetConstInLoop9_ES6.ts, 37, 12))

            break l0;
        }
        
        for (let b of []) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 47, 16))

            var [{x, y:z}] = [{x:1, y:2}];
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 48, 18))
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 48, 35))
>z : Symbol(z, Decl(capturedLetConstInLoop9_ES6.ts, 48, 20))
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 48, 31))
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 48, 35))

            if (b === 1) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 47, 16))

                break;
            }
            
            
            if (b === 2) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 47, 16))

                break l0;
            }
            
            l1:
            if (b === 3) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 47, 16))

                break l1;
            }
            
            return 50;
        }

        for (let b of []) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 66, 16))

            var [{x1, y:z1}] = [{x1:1, y:arguments.length}];
>x1 : Symbol(x1, Decl(capturedLetConstInLoop9_ES6.ts, 67, 18))
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 67, 38))
>z1 : Symbol(z1, Decl(capturedLetConstInLoop9_ES6.ts, 67, 21))
>x1 : Symbol(x1, Decl(capturedLetConstInLoop9_ES6.ts, 67, 33))
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 67, 38))
>arguments.length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))
>arguments : Symbol(arguments)
>length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))

            if (b === 1) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 66, 16))

                break;
            }
            
            if (b === 2) {
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 66, 16))

                break l0;
            }
            () => b
>b : Symbol(b, Decl(capturedLetConstInLoop9_ES6.ts, 66, 16))

            return 100;
        }

        
        () => a;
>a : Symbol(a, Decl(capturedLetConstInLoop9_ES6.ts, 37, 12))
    }
    
    use(x);
>use : Symbol(use, Decl(capturedLetConstInLoop9_ES6.ts, 31, 1))
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 48, 18))

    use(z);
>use : Symbol(use, Decl(capturedLetConstInLoop9_ES6.ts, 31, 1))
>z : Symbol(z, Decl(capturedLetConstInLoop9_ES6.ts, 48, 20))

    use(x1);
>use : Symbol(use, Decl(capturedLetConstInLoop9_ES6.ts, 31, 1))
>x1 : Symbol(x1, Decl(capturedLetConstInLoop9_ES6.ts, 67, 18))

    use(z1);
>use : Symbol(use, Decl(capturedLetConstInLoop9_ES6.ts, 31, 1))
>z1 : Symbol(z1, Decl(capturedLetConstInLoop9_ES6.ts, 67, 21))
}

function foo2() {
>foo2 : Symbol(foo2, Decl(capturedLetConstInLoop9_ES6.ts, 87, 1))

    for (let x of []) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 90, 12))

        if (x === 1) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 90, 12))

            break;
        }
        else if (x === 2) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 90, 12))

            continue;
        }
        
        while (1 === 1) {
            if (x) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 90, 12))

                break;
            }
            else {
                continue;
            }
        }
        
        switch(x) {
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 90, 12))

            case 1: break;
            case 2: continue;
        }
        
        for (let y of []) {
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 112, 16))

            switch(y) {
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 112, 16))

                case 1: break;
                case 2: continue;
            }
        }
    }
}

class C {
>C : Symbol(C, Decl(capturedLetConstInLoop9_ES6.ts, 119, 1))

    constructor(private N: number) { }
>N : Symbol(C.N, Decl(capturedLetConstInLoop9_ES6.ts, 122, 16))

    foo() {
>foo : Symbol(C.foo, Decl(capturedLetConstInLoop9_ES6.ts, 122, 38))

        for (let i = 0; i < 100; i++) {
>i : Symbol(i, Decl(capturedLetConstInLoop9_ES6.ts, 124, 16))
>i : Symbol(i, Decl(capturedLetConstInLoop9_ES6.ts, 124, 16))
>i : Symbol(i, Decl(capturedLetConstInLoop9_ES6.ts, 124, 16))

            let f = () => this.N * i;
>f : Symbol(f, Decl(capturedLetConstInLoop9_ES6.ts, 125, 15))
>this.N : Symbol(C.N, Decl(capturedLetConstInLoop9_ES6.ts, 122, 16))
>this : Symbol(C, Decl(capturedLetConstInLoop9_ES6.ts, 119, 1))
>N : Symbol(C.N, Decl(capturedLetConstInLoop9_ES6.ts, 122, 16))
>i : Symbol(i, Decl(capturedLetConstInLoop9_ES6.ts, 124, 16))
        }
    }
}

function foo3 () {
>foo3 : Symbol(foo3, Decl(capturedLetConstInLoop9_ES6.ts, 128, 1))

    let x = arguments.length;
>x : Symbol(x, Decl(capturedLetConstInLoop9_ES6.ts, 131, 7))
>arguments.length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))
>arguments : Symbol(arguments)
>length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))

    for (let y of []) {
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 132, 12))

        let z = arguments.length;
>z : Symbol(z, Decl(capturedLetConstInLoop9_ES6.ts, 133, 11))
>arguments.length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))
>arguments : Symbol(arguments)
>length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))

        (function() { return y + z + arguments.length; });
>y : Symbol(y, Decl(capturedLetConstInLoop9_ES6.ts, 132, 12))
>z : Symbol(z, Decl(capturedLetConstInLoop9_ES6.ts, 133, 11))
>arguments.length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))
>arguments : Symbol(arguments)
>length : Symbol(IArguments.length, Decl(lib.es5.d.ts, --, --))
    }
}