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] Issue with mixed optional and keyword arg #4022

Closed
bjfish opened this issue Jul 19, 2016 · 1 comment
Closed

[Truffle] Issue with mixed optional and keyword arg #4022

bjfish opened this issue Jul 19, 2016 · 1 comment
Milestone

Comments

@bjfish
Copy link
Contributor

bjfish commented Jul 19, 2016

Example

def assert_separately(args, line = nil, src, ignore_stderr: nil)
  puts "args:`#{args}`,line:`#{line}`,src:`#{src}`"
end

assert_separately([], "test")

Expected Behavior

MRI 2.3.0 / jruby master

args:`[]`,line:``,src:`test`

Actual Behavior

args:`[]`,line:``,src:`[]`

Found in test/unit. Used by a lot of MRI tests.

@bjfish bjfish added the truffle label Jul 19, 2016
@bjfish
Copy link
Contributor Author

bjfish commented Jul 20, 2016

jt test mri ruby/test_keyword.rb can be used to detect regression. This test runs in the suite with a few exclusions: 06d9b17

@bjfish bjfish closed this as completed Jan 14, 2017
@enebo enebo modified the milestone: truffle-dev Feb 10, 2017
@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

2 participants