From 7f8eb55d6c3f6132d84ce46ee468d5e660253471 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 4 Apr 2007 03:29:31 +0000 Subject: * error.c (rb_notimplement): should show the name of this func, not callee. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index d296bff06c..2d4bafdf50 100644 --- a/error.c +++ b/error.c @@ -1029,7 +1029,7 @@ rb_notimplement(void) { rb_raise(rb_eNotImpError, "The %s() function is unimplemented on this machine", - rb_id2name(rb_frame_callee())); + rb_id2name(rb_frame_this_func())); } void -- cgit v1.2.3