Skip to content

Allow multiple 'this' property assignments in Salsa#6679

Merged
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
RyanCavanaugh:fix6645
Feb 2, 2016
Merged

Allow multiple 'this' property assignments in Salsa#6679
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
RyanCavanaugh:fix6645

Conversation

@RyanCavanaugh
Copy link
Copy Markdown
Member

Fixes issue #6645

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the resulting type if the assignments are of different (incompatible) types (e.g. a boolean and an arrow function)? Do you get any errors or intellisense off the resulting type?

It would be good to add a test to cover that scenario for both documentation and regression purposes.

EDIT: Per discussion - ideally would be a union type.

@billti
Copy link
Copy Markdown
Member

billti commented Feb 1, 2016

Minor comment. 👍 once that is captured.

RyanCavanaugh added a commit that referenced this pull request Feb 2, 2016
Allow multiple 'this' property assignments in Salsa
@RyanCavanaugh RyanCavanaugh merged commit 554ea1b into microsoft:master Feb 2, 2016
@RyanCavanaugh RyanCavanaugh deleted the fix6645 branch February 2, 2016 20:49
@billti billti mentioned this pull request Feb 4, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants