* insns.def (invokesuper): fix error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97ba019c94
commit
61fa357622
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jun 25 00:45:02 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* insns.def (invokesuper): fix error message.
|
||||||
|
|
||||||
Mon Jun 25 00:14:13 2007 Koichi Sasada <ko1@atdot.net>
|
Mon Jun 25 00:14:13 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* vm.c: some refactoring.
|
* vm.c: some refactoring.
|
||||||
|
@ -1258,7 +1258,7 @@ invokesuper
|
|||||||
|
|
||||||
if (TOPN(num) == Qfalse) {
|
if (TOPN(num) == Qfalse) {
|
||||||
/* zsuper */
|
/* zsuper */
|
||||||
rb_raise(rb_eRuntimeError, "zsuper from method defined by define_method() is not supported. Specify all arguments.");
|
rb_raise(rb_eRuntimeError, "implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user