mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* vm.c: some refactoring.
|
||||
|
|
|
@ -1258,7 +1258,7 @@ invokesuper
|
|||
|
||||
if (TOPN(num) == Qfalse) {
|
||||
/* 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 {
|
||||
|
|
Loading…
Reference in a new issue