[Mono-bugs] [Bug 58303][Nor] Changed - mcs mistakenly reports that types can unify
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 10 May 2004 18:37:38 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sestoft@dina.kvl.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=58303
--- shadow/58303 2004-05-10 18:35:51.000000000 -0400
+++ shadow/58303.tmp.10932 2004-05-10 18:37:38.000000000 -0400
@@ -153,6 +153,11 @@
new Polynomial<Int>(new Int[] { new Int(2), new Int(5), new Int(1) });
Console.WriteLine(ip.Eval(new Int(10))); // 152
Console.WriteLine(ip.Add(ip).Eval(new Int(10))); // 304 = 152 + 152
Console.WriteLine(ip.Mul(ip).Eval(new Int(10))); // 23104 = 152 * 152
}
}
+
+------- Additional Comments From sestoft@dina.kvl.dk 2004-05-10 18:37 -------
+Created an attachment (id=7672)
+C# source code
+