View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] abstract method difference 0.83->0.84

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Wed, 9 May 2001 03:13:27 +0300 (EEST)

Just wanted to note a change I noticed from 0.83->0.84 which doesn't seem
to be in the changes file? It's to do with abstract methods and code like
the following:

Class Foo
Foo abstract instproc blah {}

Class Bar -superclass Foo
Bar instproc instproc blah {
  puts "blah"
  next
}

With 0.83 this worked but it gives an error about an abstract method
being called in 0.84. The reason the "next" is there in the first place is
basically because if someone decides to add a class to the chain after Bar
then the "next" commands will already be in place. Are there other
arguments for/against the 0.84 model?

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