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

[Truffle] Double splat issue #3080

Closed
bjfish opened this issue Jun 23, 2015 · 2 comments
Closed

[Truffle] Double splat issue #3080

bjfish opened this issue Jun 23, 2015 · 2 comments
Milestone

Comments

@bjfish
Copy link
Contributor

bjfish commented Jun 23, 2015

Example

def hello2(name = nil, **options)
  p name
  p options
end

hello2 'World'

Expected

$ ruby double.rb 
"World"
{}

Actual

$ ~/Documents/jruby/bin/jruby -X+T double.rb 
nil
{}

Example found here: https://dev.firmafon.dk/blog/drat-ruby-has-a-double-splat/

@bjfish bjfish added the truffle label Jun 23, 2015
@chrisseaton
Copy link
Contributor

Remind me to try this when all language specs as passing as I think it's covered there.

@bjfish
Copy link
Contributor Author

bjfish commented Feb 15, 2016

@chrisseaton This double splat issue appears to be fixed now, thanks!

@bjfish bjfish closed this as completed Feb 15, 2016
@chrisseaton chrisseaton added this to the truffle-dev milestone Feb 15, 2016
@enebo enebo added this to the Non-Release milestone Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants