Project

General

Profile

Bug #13336 ยป hello_bug.rb

 
def funny(a = true, b: nil)

p a

end

funny([1,2,3]) # => [1,2,3]

funny({k:1}) # in `funny': unknown keyword: k (ArgumentError)
    (1-1/1)