Skip to content

[CodeCompletion] Allow ErrorType in constructor #24727

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

rintaro
Copy link
Member

@rintaro rintaro commented May 13, 2019

Even if the constructor has ErrorType we can suggest it as long as it's FunctionType.

rdar://problem/49480808

@rintaro
Copy link
Member Author

rintaro commented May 13, 2019

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir May 13, 2019 05:41
Even if the constructor has `ErrorType` we can suggest it as long as it's
`FunctionType`.

rdar://problem/49480808
@rintaro rintaro force-pushed the ide-completion-init-dependenttypeclosure-rdar49480808 branch from 84c2959 to 7b7c320 Compare May 13, 2019 08:33
@rintaro
Copy link
Member Author

rintaro commented May 13, 2019

@swift-ci Please smoke test

@rintaro rintaro merged commit b903f71 into swiftlang:master May 13, 2019
@rintaro rintaro deleted the ide-completion-init-dependenttypeclosure-rdar49480808 branch May 13, 2019 17:10
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.

2 participants