Skip to content

Sema: Fix crash-on-invalid with 'enclosing self' property wrappers #28988

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

slavapestov
Copy link
Contributor

The diagnostic is still terrible, but at least we shouldn't crash.

Fixes one manifestation of rdar://problem/57726880.

I also filed https://bugs.swift.org/browse/SR-11989 to track improving
the diagnostic.

@slavapestov slavapestov requested a review from DougGregor January 3, 2020 04:33
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

The diagnostic is still terrible, but at least we shouldn't crash.

Fixes one manifestation of <rdar://problem/57726880>.

I also filed <https://bugs.swift.org/browse/SR-11989> to track improving
the diagnostic.
@slavapestov slavapestov force-pushed the enclosing-self-type-check-expression-crash branch from c2fc32e to 41a00e5 Compare January 3, 2020 20:09
@slavapestov
Copy link
Contributor Author

@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