-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Adjust for 'try?' changes in Swift 5 #1777
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
When 'try?' has an optional sub-expression, it no longer produces a nested optional.
@swift-ci Please smoke test |
I don't see where Also, there are a number of other uses of |
Hm. I believe we've got tests in I haven't done an exhaustive search yet, but this was the only use of |
There are only two cases of |
I just looked at all the uses of |
Based on the rejected PR here (https://github.com/apple/swift-corelibs-foundation/pull/1774/files), it looks like the foundation tests are using |
@swift-ci test |
Merged to unblock CI. |
@bjhomer Okay, I had missed that the compiler was actually defaulting to |
When 'try?' has an optional sub-expression, it no longer produces a nested optional.