Skip to content

[Diagnostics] Fix requirement note to properly handle layout requirements #38111

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 3 commits into from
Jun 28, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 25, 2021

Layout requirement doesn't have a second type since it's always AnyObject,
requirement failure note should handle that, otherwise in no assertion builds
this would crash in diagnostic engine trying to emit the note.

Resolves: rdar://79672230

xedin added 3 commits June 25, 2021 12:05
…ents

Layout requirement doesn't have a second type since it's always `AnyObject`,
requirement failure note should handle that, otherwise in no assertion builds
this would crash in diagnostic engine trying to emit the note.

Resolves: rdar://79672230
@xedin xedin requested a review from hborla June 25, 2021 21:13
@xedin
Copy link
Contributor Author

xedin commented Jun 25, 2021

@swift-ci please smoke test

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