зеркало из https://github.com/github/ruby.git
* 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:
Родитель
97ba019c94
Коммит
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>
|
||||
|
||||
* 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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче