Skip to content

IRGen: EmptyBoxType's representation cannot be nil because of a conflict with extra inhabitant assumption in indirect enums #10326

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 4 commits into from
Jun 17, 2017

Conversation

aschwaighofer
Copy link
Contributor

We map nil to the .None case of Optional. Instead use a singleton object.

SR-5148
rdar://32618580

…ict with extra inhabitant assumption in indirect enums

We map nil to the .None case of Optional. Instead use a singleton object.

SR-5148
rdar://32618580
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - f7cd4aa
Test requested by - @aschwaighofer

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - f7cd4aa
Test requested by - @aschwaighofer

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - f7cd4aa
Test requested by - @aschwaighofer

@aschwaighofer aschwaighofer merged commit 48e889b into swiftlang:master Jun 17, 2017
@jrose-apple
Copy link
Contributor

This broke the Ubuntu 16.10 bot. Unfortunately it looks like your successful test run is lost, so I can't tell if that was 16.10 or 16.04. Reverting for now.

jrose-apple added a commit to jrose-apple/swift that referenced this pull request Jun 19, 2017
… a conflict with extra inhabitant assumption in indirect enums (swiftlang#10326)"

This reverts commit 48e889b.
aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Jun 20, 2017
…ict with extra inhabitant assumption in indirect enums (swiftlang#10326)

* IRGen: EmptyBoxType's representation cannot be nil because of a conflict with extra inhabitant assumption in indirect enums

We map nil to the .None case of Optional. Instead use a singleton object.

SR-5148
rdar://32618580
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.

3 participants