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

[SR-9754] "nil requires a contextual type" #52183

swift-ci opened this issue Jan 25, 2019 · 5 comments

[SR-9754] "nil requires a contextual type" #52183

swift-ci opened this issue Jan 25, 2019 · 5 comments


Copy link

@swift-ci swift-ci commented Jan 25, 2019

Previous ID SR-9754
Radar rdar://problem/47550715
Original Reporter Jessy (JIRA User)
Type Bug
Status Resolved
Resolution Cannot Reproduce

Attachment: Download


Swift 5 / Xcode 10.2 beta

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 5.0Regression, TypeChecker
Assignee Jessy (JIRA)
Priority Medium

md5: 10f33275ccf292b14b8817721479ab56

Issue Description:

Swift seems to be forcing me to replace some `nil`s with `.none`s today, whereas Swift 4.2 is fine with `nil`.

Copy link

@belkadan belkadan commented Jan 25, 2019

Thanks for filing!

Copy link

@xedin xedin commented Jan 25, 2019

This is very interesting, for some reason conversion from `((Verify) -> Void)?` to `Process<Verify>?` fails.

Copy link

@LucianoPAlmeida LucianoPAlmeida commented Mar 14, 2020

Just checked the sample on Xcode 11.4, seems to be fixed already so I think this could be resolved cc @xedin

Copy link

@xedin xedin commented Mar 15, 2020

Thank you, @LucianoPAlmeida! Looks like this indeed has been fixed in Xcode 11.4. Jessy (JIRA User) Could you please verify?

Copy link
Collaborator Author

@swift-ci swift-ci commented Mar 15, 2020

Comment by Jessy Catterwaul (JIRA)

Yes. All good now

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants