<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2006/02/62c2392c4a811f218f097d57a0564198"
  from="Oliver Bandel &lt;oliver@f...&gt;"
  author="Oliver Bandel"
  date="2006-02-25T12:17:16"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?"
  prev="2006/02/cee40211d278f8e8b32d72defe400753"
  next="2006/02/1b75a8bb8bfe8ea1000b5732c70ea50a"
  prev-in-thread="2006/02/cee40211d278f8e8b32d72defe400753"
  next-in-thread="2006/02/1b75a8bb8bfe8ea1000b5732c70ea50a"
  prev-thread="2006/02/87492d48b7b7425a57ea516b1a7f2397"
  next-thread="2006/02/1681fddd9168a27c9d00d28b96b4af41"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/6c745cdabcb81f4abee3ab4848327146"
  from="sejourne_kevin &lt;sejourne_kevin@y...&gt;"
  author="sejourne_kevin"
  date="2006-02-25T10:50:24"
  subject="multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/af2129d76d17706f124c464488b55ccb"
  from="Jacques Garrigue &lt;garrigue@m...&gt;"
  author="Jacques Garrigue"
  date="2006-02-25T11:44:36"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/14a34f8584252a88b013f61b18155090"
  from="Oliver Bandel &lt;oliver@f...&gt;"
  author="Oliver Bandel"
  date="2006-02-25T11:56:18"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
</msg>
</msg>
<msg 
  url="2006/02/d9cbd2362d0ee2336cbbdae6063a8272"
  from="Oliver Bandel &lt;oliver@f...&gt;"
  author="Oliver Bandel"
  date="2006-02-25T11:49:50"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/cee40211d278f8e8b32d72defe400753"
  from="sejourne_kevin &lt;sejourne_kevin@y...&gt;"
  author="sejourne_kevin"
  date="2006-02-25T11:59:01"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/62c2392c4a811f218f097d57a0564198"
  from="Oliver Bandel &lt;oliver@f...&gt;"
  author="Oliver Bandel"
  date="2006-02-25T12:17:16"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
<msg 
  url="2006/02/1b75a8bb8bfe8ea1000b5732c70ea50a"
  from="Oliver Bandel &lt;oliver@f...&gt;"
  author="Oliver Bandel"
  date="2006-02-25T12:34:04"
  subject="Re: [Caml-list] multiple inheritance, bug or feature ?">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Sat, Feb 25, 2006 at 01:09:39PM +0100, sejourne_kevin wrote:
&gt; Oliver Bandel a écrit :
&gt; 
&gt; &gt;&gt;When I wrote this program I expect this behavior but
&gt; &gt;&gt;according to the warnings M the result should be 3.
&gt; &gt;
&gt; &gt;
&gt; &gt;Why do you think the expected behaviour should be
&gt; &gt;printing the 3?
&gt; &gt;
&gt; &gt;Your method prints the old value, not the new value.
&gt; &gt;
&gt; I know that. That is not the problem. The problem is that
&gt; there is two references on two differents values.
&gt; set_x_a' set_x_a are not using the same 'x'.


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...)

?!

Ciao,
   Oliver

</contents>

</message>

