Using mruby head the following code correctly prints 1 in cruby but it prints 2 in mruby.
instance_exec(a: 1) do |a: 2|
puts a
end
And without the default value it fails altogether
instance_exec(a: 1) do |a:|
puts a
end
instance_exec: missing keyword: a (ArgumentError)
Using mruby head the following code correctly prints 1 in cruby but it prints 2 in mruby.
And without the default value it fails altogether
instance_exec: missing keyword: a (ArgumentError)