[Mono-list] Bug related to operator += and instance fields

Paolo Molaro lupus@ximian.com
Sun, 22 Feb 2004 22:27:18 +0100


On 02/21/04 Rodolfo Campero wrote:
>    public void Test ()
>    {
>      A a = new A ();
>      // the following is the problematic line
>      _intValue += a.Value + a.Value / 2;
[...]
> The actual result is 50 but I think it should be 150.

This is fixed in cvs.
Thanks for the report.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better