Closed
Description
Hey there 👋
Environment
Running jruby 9.1.6.0 (2.3.1) 2016-11-09 0150a76 Java HotSpot(TM) 64-Bit Server VM 25.74-b02 on 1.8.0_74-b02 [darwin-x86_64]
on Darwin axfcampos.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
Expected Behavior
Example code:
def hello
yield(1, b: 2)
end
hello do |a, b:|
puts a, b
end
Output in MRI 2.3.1:
1
2
Actual Behavior
Output in JRuby:
ArgumentError: missing keyword: b
Metadata
Metadata
Assignees
Labels
No labels