Project

General

Profile

« Previous | Next » 

Revision a1f98cd4

Added by mame (Yusuke Endoh) over 5 years ago

vm_args.c: make the keyword deprecation message helpful

$ ./miniruby -e 'def foo(kw: 1); end; h = {kw: 1}; foo(h)'
-e:1: warning: The last argument is used as the keyword parameter
-e:1: warning: for `foo' defined here; maybe ** should be added to the call?