[Xotcl] Probable bug: no method calls with "next" & init

Kristoffer Lawson setok at fishpool.com
Mon Feb 5 21:58:48 CET 2001


[~] Class Foo
[~] Foo instproc init {arg} {
puts "arg: $arg"
}
[~] Foo instproc whatever {system} {
puts "sys: $system"
}
[~] Class Bar -superclass Foo
[~] Bar instproc init {} {
next myArg -whatever niceSystem
}
[~] Bar ob
called "next" with too many arguments

         -     ---------- = = ---------//--+
         |    /     Kristoffer Lawson      |  www.fishpool.fi|.com
         +-> |    setok at fishpool.com       |  - - --+------
             |-- Fishpool Creations Ltd - /         |
             +-------- = - - - = ---------      /~setok/





More information about the Xotcl mailing list