Version française
Home     About     Download     Resources     Contact us    
Browse thread
multiple inheritance, bug or feature ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] multiple inheritance, bug or feature ?
On Sat, Feb 25, 2006 at 01:16:28PM +0100, Oliver Bandel wrote:
[...]
> 
> Yes.
> 
> As you called one of your internal states "y", not "x"
> I would expect the behaviour that your implementation
> shows.
> 
> But I changes then in class b the "y" to "x" and it showed
> the same behaviour.
> 
> Well, this is what I didn't expected...
> 
> and the error messages, on which I now looked in more detail,
> well, are strange... (also in your case...)
> 
> ?!


Oh, I see... by inheriting

class a twice....  well, sorry, I had completely overseen
that you inherit class "a" twice.... 

well.... ;-)

> 
> Ciao,
>    Oliver
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs