[ruby-cvs:70037] nobu:r62914 (trunk): vm_args.c: warn splat to var

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Mar 25 11:22:14 JST 2018


nobu	2018-03-25 11:22:14 +0900 (Sun, 25 Mar 2018)

  New Revision: 62914

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

  Log:
    vm_args.c: warn splat to var
    
    * vm_args.c (setup_parameters_complex): [EXPERIMENTAL] warn when
      splat keyword arguments is passed as a single ordinary argument,
      not as a keyword rest argument.

  Modified files:
    trunk/test/ruby/test_keyword.rb
    trunk/vm_args.c


More information about the ruby-cvs mailing list