-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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-11989] Better diagnostic for invalid 'enclosing self' property wrapper subscript #54422
Comments
@swift-ci create |
1 similar comment
@swift-ci create |
I also added this FIXME to buildStorageReference(); probably it should be addressed at the same time:
|
Comment by Hassan ElDesouky (JIRA) @slavapestov Can you provide more details? |
Is anyone working on this ticket / could this be assigned to me? Not seeing the ability to self-assign in the top right. |
is it required to be assigned to the issue before working on it? I didn't see this in the Contribution guide. I think my bad was I forgot to at least leave a comment to say that |
Hi @slavapestov , just wanted to ask you for more details about the error so my question is: is this the bad diagnostic that you are talking about?backing the to your PR that you solved the compiler crash i found that you wrote this in your test file test/decl/var/property_wrappers_invalid.swift
So it was expected for me to get these errors
but I found the errors in the pic. is this the "unclear diagnostic" that you are talking about? |
Additional Detail from JIRA
md5: 20d8a77f9190fc316ad55bfd7bb733b2
Issue Description:
This used to emit bad diagnostics and then crash the compiler. I've fixed the crash but we need to fix the bad diagnostic:
The text was updated successfully, but these errors were encountered: