Skip to content

Revert "[DefiniteInitialization] Fix the bug that allows overwriting immutable" #17563

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 1 commit into from
Jun 27, 2018

Conversation

ravikandhadai
Copy link
Contributor

This reverts commit 82abf97 as it breaks
compatability of some existing benchmarks.

@ravikandhadai
Copy link
Contributor Author

@swift-ci please test

@ravikandhadai ravikandhadai requested a review from gottesmm June 27, 2018 18:07
@jckarter
Copy link
Contributor

Can we update the benchmarks instead? Does this cause breakage outside the benchmarks? Rather than eliminate the fix entirely, if we need to preserve compatibility, we generally make the new diagnostic a warning in the current language version (4 currently) and upgrade to an error in the next language version (5).

@gottesmm
Copy link
Contributor

@ravikandhadai Your commit message here needs more information. What benchmarks failed? What was the error message? Without that it is impossible to know anything from what you wrote here and really it isn't useful.

@ravikandhadai
Copy link
Contributor Author

@jckarter I am sorry for not being clear. I just would like to revert it for the time being while I am investigating the issue. It looks like there could be a bug in the DI, the benchmarks appears to the correct.

@ravikandhadai
Copy link
Contributor Author

ravikandhadai commented Jun 27, 2018

@gottesmm Please see this radar for more information: rdar://41501480

…immutable"

This reverts commit 82abf97 as it breaks
compatability of some existing benchmarks.

<rdar://41501480>
@ravikandhadai
Copy link
Contributor Author

@swift-ci please test

@ravikandhadai
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 233c4ef345cd98228b33235a5d5a56df1e95ddf7

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 233c4ef345cd98228b33235a5d5a56df1e95ddf7

@ravikandhadai ravikandhadai merged commit 0837072 into swiftlang:master Jun 27, 2018
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.

4 participants