[Mono-bugs] [Bug 54764][Wis] New - Strange compiling error in BigInteger.cs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 23 Feb 2004 11:58:06 -0500 (EST)


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 sebastien@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=54764

--- shadow/54764	2004-02-23 11:58:06.000000000 -0500
+++ shadow/54764.tmp.18212	2004-02-23 11:58:06.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 54764
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Strange compiling error in BigInteger.cs
+
+Description of Problem:
+After a trivial modification to BigInteger it wouldn't compile (CVS).
+Compiler wasn't updated before/after the fix.
+
+Steps to reproduce the problem:
+1. Get /mcs/class/corlib/Mono.Math/BigInteger.cs version 1.10 from CVS
+2. Try to compile with MCS
+
+
+Actual Results:
+syntax error, got token `CLOSE_PARENS', expecting SEMICOLON
+./Mono.Math/BigInteger.cs(1417) error CS1002: Expecting `;'
+
+
+Expected Results:
+Compile without error (as it did before)
+
+
+How often does this happen? 
+Always
+
+Additional Information:
+- Just changed the code (a little) to make it compile (and not break the
+corlib build). However this just hides the problem.
+- There's a lot of unsafe / pointer code in the file. Maybe the * got
+confused from a multiplication to a pointer ? but why has this worked before ?