Browse thread
multiple inheritance, bug or feature ?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-02-25 (11:59) |
From: | sejourne_kevin <sejourne_kevin@y...> |
Subject: | Re: [Caml-list] multiple inheritance, bug or feature ? |
Oliver Bandel a écrit : >>When I wrote this program I expect this behavior but >>according to the warnings M the result should be 3. > > > Why do you think the expected behaviour should be > printing the 3? > > Your method prints the old value, not the new value. > I know that. That is not the problem. The problem is that there is two references on two differents values. set_x_a' set_x_a are not using the same 'x'. ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com