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:
parent
e403fd8509
commit
f1b7bf1047
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue