Project

General

Profile

Bug #10142

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

~~~ruby 
 irb(main):007:0> def foo(a, b: nil); [a, b] end 
 :foo 
 irb(main):008:0> foo b: 1 
 [ 
   [0] { 
     :b => 1 
   }, 
   [1] nil 
 ] 
 ~~~ 
 ______________________________ 

 would be better if this raised

Back