summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-04 03:29:31 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-04 03:29:31 +0000
commit7f8eb55d6c3f6132d84ce46ee468d5e660253471 (patch)
treed36cde6deef25fd8bce604a340eb235744976704 /error.c
parent1f9d0992aba18316b2e08ce2ce00b0b5eb524e48 (diff)
* 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
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
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