diff options
author | Marc-Andre Lafortune <[email protected]> | 2019-12-23 02:34:16 -0500 |
---|---|---|
committer | Marc-Andre Lafortune <[email protected]> | 2019-12-23 16:47:33 -0500 |
commit | 819b604037c317d2b53a1aaca67aef25da2d5ec9 (patch) | |
tree | 0dfc97bef8bdac44091e2c627325ed61fd61a16c /vm_eval.c | |
parent | df6f5c44af1f261fa940ec3954468be8b820450e (diff) |
Reword keyword arguments warning messages to convey these are deprecation warnings
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ vm_call0_body(rb_execution_context_t *ec, struct rb_calling_info *calling, struc RB_TYPE_P(argv[calling->argc-1], T_HASH) && RHASH_EMPTY_P(argv[calling->argc-1])) { if (calling->argc == 1) { - rb_warn("The keyword argument is passed as the last hash parameter"); + rb_warn("Passing the keyword argument as the last hash parameter is deprecated"); } else { calling->argc--; |