-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Optional args that self-reference must resolve #2124
Comments
That seems weird ... |
Ignore the missing parser warning commit. It was meant for #2147. |
Coming back to this, I don't think it's an IR issue (at least, it's not anymore)...I think it's a parsing issue. If the RHS in |
I should have commented on this a long time ago but minimal case for this is 'var = var'. Opt arg is unrelated here. This is something I have always considered as a bug in MRI so I never fixed it but perhaps I should... |
I am removing 1.7 as support item here as I am starting to wind down on very unlikely to ever be fixed issues. This has been fixed a while on 9000. Closing. |
See https://bugs.ruby-lang.org/issues/9593
The cases in question are in mri/ruby/test_syntax and look basically like this:
...and so on. This will likely require parser changes. I am excluding test_keyword_self_reference and test_optional_self_reference now.
Note that test_keyword_self_reference actually triggers a Java exception inside IR:
The text was updated successfully, but these errors were encountered: