[ruby-cvs:78780] f7aee58498 (master): vm_args.c: rephrase the warning message of keyword argument separation
"Yusuke Endoh" <[email protected]> Fri, 20 Dec 2019 19:45:16 +0900 (JST)
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Yusuke Endoh 2019-12-20 19:41:15 +0900 (Fri, 20 Dec 2019)
New Revision: f7aee58498
https://github.com/ruby/ruby/commit/f7aee58498
Log:
vm_args.c: rephrase the warning message of keyword argument separation
(old)
test.rb:4: warning: The last argument is used as the keyword parameter
test.rb:1: warning: for `foo' defined here; maybe ** should be added to the call?
(new)
test.rb:4: warning: The last argument is used as keyword parameters; maybe ** should be added to the call
test.rb:1: warning: The called method `foo' is defined here
Modified files:
class.c
include/ruby/ruby.h
test/-ext-/funcall/test_passing_block.rb
test/ruby/test_exception.rb
test/ruby/test_io.rb
test/ruby/test_keyword.rb
test/ruby/test_numeric.rb
test/ruby/test_proc.rb
test/ruby/test_struct.rb
test/ruby/test_syntax.rb
test/test_delegate.rb
vm_args.c