**TypeScript Version:** 1.8.30 **Code** ``` ts var o: { a: void; } = { get a() { return; }, set a(p) { } }; ``` **Expected behavior:** ``` ts var o: { b: void; } = { get b() { return; }, set b(p) { } }; ``` **Actual behavior:** ``` ts var o: { b: void; } = { get a() { return; }, set a(p) { } }; ```
Activity
basarat commentedon May 2, 2016
Same with member functions:
falsandtru commentedon May 2, 2016
Basarat Ali Syed (@basarat) nice catch! I think it would be better to file a new issue.
mhegazy commentedon May 2, 2016
The issues reported in the OP has been fixed in master. the one reported by Basarat Ali Syed (@basarat) is not though.
Fix #8415: Add method declaration to contextually typed locations whe…
Merge pull request #8456 from Microsoft/Fix8415