Skip to content

[TypeChecker] When formatting witness type for diagnostics don't assu… #17270

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

Merged
merged 1 commit into from
Jun 16, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 16, 2018

…me it's always valid

Sometimes witness candidates have error type e.g. when re-declaration checking
marks them as invalid, so formatting of the diagnostic
should account of potential witnesses not having a valid type.

Resolves: rdar://problem/41141944

@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2018

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - dd2bbbd81c59fb725af7b4516060024053cd7881

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - dd2bbbd81c59fb725af7b4516060024053cd7881

…me it's always valid

Sometimes witness candidates have error type e.g. when re-declaration checking
marks them as `invalid`, so formatting of the diagnostic
should account of potential witnesses not having a valid type.

Resolves: rdar://problem/41141944
@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2018

@swift-ci please test

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 235ed55

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 235ed55

@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2018

@swift-ci please test

@xedin xedin merged commit 969fb35 into swiftlang:master Jun 16, 2018
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