[ruby-cvs:71450] nobu:r64358 (trunk): non-symbol keys in kwargs

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Aug 14 20:58:18 JST 2018


nobu	2018-08-14 20:58:17 +0900 (Tue, 14 Aug 2018)

  New Revision: 64358

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64358

  Log:
    non-symbol keys in kwargs
    
    * class.c (separate_symbol): [EXPERIMENTAL] non-symbol key in keyword
      arguments hash causes an exception now.
      c.f. https://twitter.com/yukihiro_matz/status/1022287578995646464

  Modified files:
    trunk/NEWS
    trunk/class.c
    trunk/spec/ruby/language/block_spec.rb
    trunk/spec/ruby/language/method_spec.rb
    trunk/test/-ext-/test_scan_args.rb


More information about the ruby-cvs mailing list