-
-
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
Ruby 2.3's #dig #3458
Ruby 2.3's #dig #3458
Conversation
@kares Nice work and specs here! |
@eregon thx, I thought the work-flow is that you pick those eventually back to ruby/rubyspec. |
…e returned not obj
@kares For new feature specs I think it's more beneficial to PR against the ruby/rubyspec repo. A guard of minimal version 2.3 will be needed anyway for this spec to pass on older versions, so this spec will only run when JRuby declares RUBY_VERSION to be "2.3.x" (it's possible to ignore such a guard with --unguarded while developing). Yes, please remove them from here if you do the PR so there is no chance for conflict :) |
lambda { [10].dig() }.should raise_error(ArgumentError) | ||
end | ||
|
||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a terminating newline character here.
put the commits into ruby-2.3 which should merge to master after 2.3 final when 9.1.0 is released |
[].dig(0)
and{}.dig(:a)
as introduced by MRI 2.3.0.preview1