Skip to content

Conversation

@jckarter
Copy link
Contributor

@jckarter jckarter commented Feb 9, 2021

Explanation: There is a serious miscompilation bug in the code generation for enum cases as protocol witnesses. There is a fix in #35838, but that fix affects a fairly low level of SIL type lowering that could have unforeseen knock on effects, so I don't want to risk the stability of 5.4. It is safer to disable this new feature in the meantime.

Scope: Removes a new feature from the 5.4 branch.

Issue: rdar://73855052

Risk: Low, removes a new feature.

Testing: Swift CI

There is a serious bug in the implementation. swiftlang#35838 fixes this in main, but might have side effects that are more than we want to risk for Swift 5.4. rdar://73855052
@jckarter jckarter requested a review from slavapestov February 9, 2021 01:32
@jckarter jckarter requested a review from a team as a code owner February 9, 2021 01:32
@jckarter
Copy link
Contributor Author

jckarter commented Feb 9, 2021

@swift-ci Please test

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

This feature shipped in 5.3 so we can't remove it now. I would just cherry pick the real fix into 5.4.

@jckarter jckarter closed this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants