TypeScript/tests/baselines/reference/nameCollisionsInPropertyAssignments.types

13 lines
492 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/nameCollisionsInPropertyAssignments.ts ===
var x = 1
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 0, 3))
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
var y = { x() { x++; } };
2015-04-13 23:01:57 +02:00
>y : { x(): void; }, Symbol(y, Decl(nameCollisionsInPropertyAssignments.ts, 1, 3))
>{ x() { x++; } } : { x(): void; }
2015-04-13 23:01:57 +02:00
>x : () => void, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 1, 9))
2014-08-15 23:33:16 +02:00
>x++ : number
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(nameCollisionsInPropertyAssignments.ts, 0, 3))
2014-08-15 23:33:16 +02:00