TypeScript/tests/baselines/reference/letDeclarations.symbols
2015-04-15 16:44:20 -07:00

34 lines
1 KiB
Plaintext

=== tests/cases/compiler/letDeclarations.ts ===
let l1;
>l1 : Symbol(l1, Decl(letDeclarations.ts, 1, 3))
let l2: number;
>l2 : Symbol(l2, Decl(letDeclarations.ts, 2, 3))
let l3, l4, l5 :string, l6;
>l3 : Symbol(l3, Decl(letDeclarations.ts, 3, 3))
>l4 : Symbol(l4, Decl(letDeclarations.ts, 3, 7))
>l5 : Symbol(l5, Decl(letDeclarations.ts, 3, 11))
>l6 : Symbol(l6, Decl(letDeclarations.ts, 3, 23))
let l7 = false;
>l7 : Symbol(l7, Decl(letDeclarations.ts, 5, 3))
let l8: number = 23;
>l8 : Symbol(l8, Decl(letDeclarations.ts, 6, 3))
let l9 = 0, l10 :string = "", l11 = null;
>l9 : Symbol(l9, Decl(letDeclarations.ts, 7, 3))
>l10 : Symbol(l10, Decl(letDeclarations.ts, 7, 11))
>l11 : Symbol(l11, Decl(letDeclarations.ts, 7, 29))
for(let l11 in {}) { }
>l11 : Symbol(l11, Decl(letDeclarations.ts, 9, 7))
for(let l12 = 0; l12 < 9; l12++) { }
>l12 : Symbol(l12, Decl(letDeclarations.ts, 11, 7))
>l12 : Symbol(l12, Decl(letDeclarations.ts, 11, 7))
>l12 : Symbol(l12, Decl(letDeclarations.ts, 11, 7))