-
-
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
warning: Ambiguous first argument #3946
Comments
Might be an easy one, eh @enebo? |
So easy it has been fixed since 9.0.5.0: jruby -we 'p({x:-1})'
-e:1: warning: Ambiguous first argument; make sure.
{:x=>-1} I fixed a lot of parser problems for 9.1.0.0. |
I tested 9.1.2.0 and 9.1.3.0-SNAPSHOT.
|
Oh I'm sorry, I made a mistake. I wrote Expected Behavior and Actual Behavior oppositely. Expected BehaviorNo warnings generate. Actual BehaviorA strange warning(Ambiguous first argument) generates. |
@yamam ah yes sorry you are correct MRI does not do this. I will reopen... |
Environment
jruby 9.1.0.0 - 9.1.2.0
Expected Behavior
Actual Behavior
jruby 9.0.5.0
ruby 2.3.1
The text was updated successfully, but these errors were encountered: