TypeScript/tests/baselines/reference/chainedAssignment2.types
2015-04-13 14:29:37 -07:00

33 lines
1 KiB
Plaintext

=== tests/cases/compiler/chainedAssignment2.ts ===
var a: string;
>a : string, Symbol(a, Decl(chainedAssignment2.ts, 0, 3))
var b: number;
>b : number, Symbol(b, Decl(chainedAssignment2.ts, 1, 3))
var c: boolean;
>c : boolean, Symbol(c, Decl(chainedAssignment2.ts, 2, 3))
var d: Date;
>d : Date, Symbol(d, Decl(chainedAssignment2.ts, 3, 3))
>Date : Date, Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
var e: RegExp;
>e : RegExp, Symbol(e, Decl(chainedAssignment2.ts, 4, 3))
>RegExp : RegExp, Symbol(RegExp, Decl(lib.d.ts, 825, 1), Decl(lib.d.ts, 876, 11))
a = b = c = d = e = null;
>a = b = c = d = e = null : null
>a : string, Symbol(a, Decl(chainedAssignment2.ts, 0, 3))
>b = c = d = e = null : null
>b : number, Symbol(b, Decl(chainedAssignment2.ts, 1, 3))
>c = d = e = null : null
>c : boolean, Symbol(c, Decl(chainedAssignment2.ts, 2, 3))
>d = e = null : null
>d : Date, Symbol(d, Decl(chainedAssignment2.ts, 3, 3))
>e = null : null
>e : RegExp, Symbol(e, Decl(chainedAssignment2.ts, 4, 3))
>null : null