Skip to content
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

Bump the compiler version to 5.0 (and compat versions 4.2 and 3.4) #13843

Closed
wants to merge 1 commit into from

Conversation

jrose-apple
Copy link
Contributor

Alternative to #13767 where we jump all the way to 5.0 now.

@@ -145,7 +145,7 @@ bb0(%0 : $*AnyObject):
// CHECK: store [[TMP]] to %0 : $*Optional<AnyObject>
sil @testIOU : $@convention(thin) (@in Optional<AnyObject>) -> (@out Optional<AnyObject>) {
bb0(%0 : $*Optional<AnyObject>, %1: $*Optional<AnyObject>):
unconditional_checked_cast_addr ImplicitlyUnwrappedOptional<AnyObject> in %1 : $*Optional<AnyObject> to Optional<AnyObject> in %0 : $*Optional<AnyObject>
unconditional_checked_cast_addr Swift.ImplicitlyUnwrappedOptional<AnyObject> in %1 : $*Optional<AnyObject> to Optional<AnyObject> in %0 : $*Optional<AnyObject>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rudkx This was a hack to keep this test doing what it's doing, but it's not supposed to work, is it? What if someone's doing this in regular Swift code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, it looks like this busts the parse_stdlib tests too. I'm going to remove the restriction on mentioning IUO by name in SIL mode instead, but you still might want to look at this for non-SIL mode.

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Collaborator

Build failed
Swift Test Linux Platform
Git Sha - 165d5f2

@jrose-apple
Copy link
Contributor Author

jrose-apple commented Mar 3, 2018

Closing per https://swift.org/blog/4-2-release-process/ – we'll be doing a 4.2 before we do 5.0.

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.

None yet

2 participants