[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GOOPS Bug with slotless child classes?
From: |
Stephen Compall |
Subject: |
Re: GOOPS Bug with slotless child classes? |
Date: |
Wed, 05 Jan 2005 17:28:42 -0600 |
On Wed, 2005-01-05 at 18:06 -0500, Clinton Ebadi wrote:
> (define child-object-1 (make <child> #:atts '(child-2 atts)))
> (define child-object-2 (make <child> #:atts '(child-2 atts)))
> ...
> #<<child> 8089e20>
> (child-2 atts)
> #<<child> 8089e10>
> (child-2 atts)
>
> Are instance slots of a parent class supposed to be shared across all
> instances of a child?
I changed the first quoted line to say
(define child-object-1 (make <child> #:atts '(child-1 atts)))
and got this output:
#<<parent> 40341760>
(parent-1 atts)
#<<parent> 4033dcc0>
(parent-2 atts)
#<<child> 4033d430>
(child-1 atts)
#<<child> 40337c80>
(child-2 atts)
--
Stephen Compall
signature.asc
Description: This is a digitally signed message part