|
1 |
| -=== tests/cases/compiler/unusedLocalsStartingWithUnderscore.ts === |
| 1 | +=== /a.ts === |
| 2 | +import * as _ from "./a"; |
| 3 | +>_ : Symbol(_, Decl(a.ts, 0, 6)) |
| 4 | + |
2 | 5 | for (const _ of []) { }
|
3 |
| ->_ : Symbol(_, Decl(unusedLocalsStartingWithUnderscore.ts, 0, 10)) |
| 6 | +>_ : Symbol(_, Decl(a.ts, 2, 10)) |
4 | 7 |
|
5 | 8 | for (const _ in []) { }
|
6 |
| ->_ : Symbol(_, Decl(unusedLocalsStartingWithUnderscore.ts, 2, 10)) |
| 9 | +>_ : Symbol(_, Decl(a.ts, 4, 10)) |
7 | 10 |
|
8 |
| -namespace M { |
9 |
| ->M : Symbol(M, Decl(unusedLocalsStartingWithUnderscore.ts, 2, 23)) |
| 11 | +namespace _ns { |
| 12 | +>_ns : Symbol(_ns, Decl(a.ts, 4, 23)) |
10 | 13 |
|
11 | 14 | let _;
|
12 |
| ->_ : Symbol(_, Decl(unusedLocalsStartingWithUnderscore.ts, 5, 7)) |
| 15 | +>_ : Symbol(_, Decl(a.ts, 7, 7)) |
13 | 16 |
|
14 | 17 | for (const _ of []) { }
|
15 |
| ->_ : Symbol(_, Decl(unusedLocalsStartingWithUnderscore.ts, 6, 14)) |
| 18 | +>_ : Symbol(_, Decl(a.ts, 8, 14)) |
16 | 19 |
|
17 | 20 | for (const _ in []) { }
|
18 |
| ->_ : Symbol(_, Decl(unusedLocalsStartingWithUnderscore.ts, 8, 14)) |
| 21 | +>_ : Symbol(_, Decl(a.ts, 10, 14)) |
19 | 22 | }
|
20 |
| - |
| 23 | + |
0 commit comments