Skip to content

Instance of else clause#5092

Merged
mhegazy merged 2 commits into
microsoft:masterfrom
tinganho:instanceOfElseClause
Nov 7, 2015
Merged

Instance of else clause#5092
mhegazy merged 2 commits into
microsoft:masterfrom
tinganho:instanceOfElseClause

Conversation

@tinganho

@tinganho tinganho commented Oct 3, 2015

Copy link
Copy Markdown
Contributor

Fixes #1719.

Comment thread src/compiler/checker.ts

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.

@RyanCavanaugh what happened with the idea that if the RHS type isn't a subtype of any types in the union, that we just discard the LHS type and take the RHS type? Is that something that we eventually went with?

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.

I don't remember what we decided on that.

@RyanCavanaugh

Copy link
Copy Markdown
Member

@tinganho can you address the merge conflict?

@RyanCavanaugh

Copy link
Copy Markdown
Member

What happened to the tsxAttributeResolution9 baselines?

@tinganho tinganho force-pushed the instanceOfElseClause branch from c91c905 to dd54b7a Compare October 6, 2015 11:02
@tinganho

tinganho commented Oct 6, 2015

Copy link
Copy Markdown
Contributor Author

@RyanCavanaugh I fixed the merge conflict. And tsxAttributeResolution9 doesn't appear as deleted anymore when I rebased my solution.

@RyanCavanaugh

Copy link
Copy Markdown
Member

@mhegazy good with this?

@DanielRosenwasser

Copy link
Copy Markdown
Member

👍

@mhegazy

mhegazy commented Nov 7, 2015

Copy link
Copy Markdown
Contributor

Sorry for the delay. 👍

mhegazy added a commit that referenced this pull request Nov 7, 2015
@mhegazy mhegazy merged commit c3df289 into microsoft:master Nov 7, 2015
@mhegazy

mhegazy commented Nov 7, 2015

Copy link
Copy Markdown
Contributor

thanks!

@tinganho

tinganho commented Nov 8, 2015

Copy link
Copy Markdown
Contributor Author

👍

@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.

5 participants