1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix wrong function names in rb_bug messages [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-01-31 00:19:33 +00:00
parent e403fd8509
commit f1b7bf1047

View file

@ -855,7 +855,7 @@ rb_tracearg_return_value(rb_trace_arg_t *trace_arg)
rb_raise(rb_eRuntimeError, "not supported by this event");
}
if (trace_arg->data == Qundef) {
rb_bug("tp_attr_return_value_m: unreachable");
rb_bug("rb_tracearg_return_value: unreachable");
}
return trace_arg->data;
}
@ -870,7 +870,7 @@ rb_tracearg_raised_exception(rb_trace_arg_t *trace_arg)
rb_raise(rb_eRuntimeError, "not supported by this event");
}
if (trace_arg->data == Qundef) {
rb_bug("tp_attr_raised_exception_m: unreachable");
rb_bug("rb_tracearg_raised_exception: unreachable");
}
return trace_arg->data;
}
@ -885,7 +885,7 @@ rb_tracearg_object(rb_trace_arg_t *trace_arg)
rb_raise(rb_eRuntimeError, "not supported by this event");
}
if (trace_arg->data == Qundef) {
rb_bug("tp_attr_raised_exception_m: unreachable");
rb_bug("rb_tracearg_object: unreachable");
}
return trace_arg->data;
}