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

13 lines
492 B
Plaintext

=== tests/cases/compiler/nameCollisionsInPropertyAssignments.ts ===
var x = 1
>x : number, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 0, 3))
>1 : number
var y = { x() { x++; } };
>y : { x(): void; }, Symbol(y, Decl(nameCollisionsInPropertyAssignments.ts, 1, 3))
>{ x() { x++; } } : { x(): void; }
>x : () => void, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 1, 9))
>x++ : number
>x : number, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 0, 3))