-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Revert " Remove extensions on ImplicitlyUnwrappedOptional from the stdlib." #13967
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
Conversation
@swift-ci Please smoke test |
@DougGregor Any ideas about this build failure? I hit it locally as well and changing the result type to Perhaps an associated type inference or conformance checking problem? |
@swift-ci Please smoke test |
I'm working on new test cases for |
I've also opened a PR for 4.1: #13976 The difference is that the PR for master also has to back out a change to conformance checking which broke reintroducing these extensions. |
timeout on linux |
c84853b
to
48108a7
Compare
@swift-ci Please smoke test |
@swift-ci Please smoke test Linux platform |
@shahmishal The linux machine here appears to have an old version of CMake so the configure failed. |
@rudkx Looking into it. |
@swift-ci Please test OS X platform |
Build failed |
@swift-ci Please test source compatibility |
…eCBridgeable. Partial revert of 26f6a75. Removing this breaks bridging these values to Objective C. Once IUOs are removed from the type system and ImplicitlyUnwrappedOptional<T> is removed from the library, we'll be strictly using Optional<T> which has this conformance as well. Fixes: rdar://problem/36477954, https://bugs.swift.org/browse/SR-6764
…n decl." This reverts commit ec5cebd. The way it's implemented is problematic when we still have IUOs in the type system and library. We end up thinking there are mismatches between requirements and potential witnesses when there are not.
48108a7
to
41056ae
Compare
@swift-ci Please smoke test |
@swift-ci Please test source compatibility |
Another Linux timeout |
@swift-ci Please smoke test Linux |
@swift-ci Please test source compatibility |
@swift-ci Please smoke test Linux platform |
There was another timeout on linux. I've seen this several times now across a few different PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Partially reverts #12713
It looks like this probably broke conditional casts from IUOs to NSObject.