-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[WIP] Nothing to see here...IUO changes. #14150
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
…O attr on decl."" This reverts commit c773493. This was reverted from master when we added back some extensions to ImplicitlyUnwrappedOptional<T>, but these changes are fine in a world in which IUOs are implemented as Optional<T>.
…ObjectiveCBridgeable." This reverts commit be6d83c. We can remove these again since ImplicitlyUnwrappedOptional<T> is going away.
Stop creating ImplicitlyUnwrappedOptional<T> so that we can remove it from the type system. Enable the code that generates disjunctions for Optional<T> and rewrites expressions based on the original declared type being 'T!'. This effectively means ImplicitlyUnwrappedOptional<T> is no longer part of the type system, although I haven't actually removed all of the code dealing with it yet. Most of the changes supporting this were previously merged to master, but some things, like support for dynamic lookup were difficult to put on master without actually removing IUOs. ImplicitlyUnwrappedOptional<T> is is dead, long live implicitly unwrapped Optional<T>! Resolves rdar://problem/33272674.
@swift-ci Please test |
@swift-ci Please test source compatibility |
Failures expected... |
Build failed |
Build failed |
@swift-ci Please test |
1 similar comment
@swift-ci Please test |
Build failed |
Build failed |
In addition to the expected failure in ObjectMapper (which will be XFAILed by swiftlang/swift-source-compat-suite#127), it looks like SwiftLint is has a dependency on a version of SourceKitten that does not include jpsim/SourceKitten@8c92b0c, so it is also failing. |
@swift-ci Please test Linux platform |
Build failed |
Just testing out some of the not-yet-merged IUO changes including some hacked up parameter matching code that will probably be rewritten.