Skip to content

Revert optional breakage #6835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 16, 2017
Merged

Revert optional breakage #6835

merged 3 commits into from
Jan 16, 2017

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Jan 16, 2017

Revert a change that improved performance of type checking but resulted in a regression in source compatibility.

rudkx added 3 commits January 15, 2017 22:01
…estriction kinds."

This reverts commit d79ba78 so that I
can revert 1efafbc, which caused a
source compatibility regression.
This reverts commit 1efafbc because
results in a regression in source compatibility with Swift 3.

It also adds a test demonstrating what was broken by the change.

I will take another look at fixing the exponential behavior that this
was attempting to fix.

Fixes rdar://problem/29977523.
This reapply's Doug's change d79ba78,
which had previously been applied on top of
1efafbc, the latter of which resulted
in a source compatibility break.
@rudkx
Copy link
Contributor Author

rudkx commented Jan 16, 2017

@DougGregor FYI - backing out the performance improvement for collection type checking due to the source compatibility break. I have some ideas on how to get the performance improvement back which I will take a look at when I get a chance.

@rudkx
Copy link
Contributor Author

rudkx commented Jan 16, 2017

@swift-ci Please smoke test

@rudkx rudkx merged commit 12af451 into swiftlang:master Jan 16, 2017
@rudkx rudkx deleted the revert-optional-breakage branch January 16, 2017 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant