-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Raise syntax error when using out as an arg #6052
Conversation
Can you add a spec somehow? |
@bew it's there, see the diff. |
I'm not sure this is right. There should not really be an issue with accessing |
I'm pretty sure @makenowjust didn't just forget to add a restriction to |
|
That said, |
Basically... out = 1
foo(out) # Error: expecting variable or instance variable after out That's why |
Then all keywords should be forbidden?
|
If |
@straight-shoota That's just confusing, but if someone wants to implement that, please go ahead (and revert this PR). |
@straight-shoota Yes, I did't forget to add |
That commit fixes issue #6042.