aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index bd30b89a2f..24d8dcfdf6 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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--;