Skip to content
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

Handle double splats in hashes #1315

merged 4 commits into from Feb 20, 2019


None yet
1 participant
Copy link

presidentbeef commented Feb 18, 2019

In the simple case of:

x = { a: 1 }
y = { **x, b: 2 }
puts y[:a]

This also improves/fixes the naive handling of kwsplat arguments introduced in #1300

presidentbeef added some commits Feb 18, 2019

Handle double splats in hashes
Fixes #1196 in the simple case

@presidentbeef presidentbeef merged commit 2508d21 into master Feb 20, 2019

5 checks passed

ci/circleci Your tests passed on CircleCI!
codeclimate All good!
codeclimate/diff-coverage 100% (90% threshold)
codeclimate/total-coverage 94% (0.0% change)
continuous-integration/travis-ci/pr The Travis CI build passed

@presidentbeef presidentbeef deleted the double_splat_in_hash branch Feb 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.