-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Sema: Don’t use ‘.’ in symbol names of synthesized properties #5998
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
Instead use ‘$’.
@swift-ci Please smoke test |
@jckarter Can you please review this? |
This is no good, |
What's prompting this? Problems with mangling? Problems with the SIL parser? |
|
@eeckstein I do think though that it'd be better to mangle unexpected characters like |
Since #5270 let `$storage` = 1
print(`$storage`) |
I don't think we ever allowed |
let foo$storage = 1
print(foo$storage) |
Well, that's arguably a bug we should fix (for future Swift versions) in line with #5270. |
:-/ Perhaps. I wish we had a good way to search for that one first. (We could also do some kind of silly substitution, like |
Alternatively, we could treat |
ok, no problem, I'll handle it in the mangling |
Instead use ‘$’.