=== tests/cases/compiler/nameCollisionsInPropertyAssignments.ts ===
var x = 1
>x : number
var y = { x() { x++; } };
>y : { x(): void; }
>{ x() { x++; } } : { x(): void; }
>x : () => void
>x++ : number