Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix nullable filtering in spreads#16306

Merged
sandersn merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
fix-nullable-filtering-in-spreadsmicrosoft/TypeScript:fix-nullable-filtering-in-spreadsCopy head branch name to clipboard
Jun 6, 2017
Merged

Fix nullable filtering in spreads#16306
sandersn merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
fix-nullable-filtering-in-spreadsmicrosoft/TypeScript:fix-nullable-filtering-in-spreadsCopy head branch name to clipboard

Conversation

@sandersn

@sandersn sandersn commented Jun 6, 2017

Copy link
Copy Markdown
Member

Fixes #13066

Previously, null/undefined were removed upfront, which is incorrect. Now nullable types are removed with other non-primitives after union is lifted over spread. This produces unions, which are larger, but more correct.

Also move some spread tests into the conformance suite.

sandersn added 3 commits June 6, 2017 13:58
Previously, null/undefined were removed upfront, which is incorrect. Now
nullable types are removed with other non-primitives after union is
lifted over spread. This produces unions, which are larger, but more correct.
@sandersn sandersn merged commit 617f60e into master Jun 6, 2017
@sandersn sandersn deleted the fix-nullable-filtering-in-spreads branch June 6, 2017 22:00
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.