Chip Salzenberg wrote:
On Fri, Jun 24, 2005 at 08:21:25AM +0200, Leopold Toetsch wrote:
The plan is to move these methods to classes/scalar.pmc
Last I remember, I asked for a number.pmc for Integer and Float to
derive from. A Number isa Scalar. Is there some problem with Number?
I must have missed the Number PMC. Anyway: there are two possibiities:
a) Number is a concrete type then inheritance works out of the box.
b) Number is an abstract type (i.e. number) then the problem still exists.
The former has a vtable, type number, class name. The abstract number
has nothing, it's just used for inheriting vtable functionality.
leo