[Mono-bugs] [Bug 82757][Nor] New - comparison operator causes compile error
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 8 14:23:29 EDT 2007
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 lupus at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82757
--- shadow/82757 2007-09-08 14:23:29.000000000 -0400
+++ shadow/82757.tmp.18526 2007-09-08 14:23:29.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 82757
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: lupus at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: comparison operator causes compile error
+
+The following code was extracted from the pdfsharp sources.
+It is possible the angle brackets are mistaken to be related to generics
+(mcs compiles the code just fine)?
+class T {
+
+ void test (int a, int b) {
+ int c = 10;
+ if (a >= 0 && b + 4 < c >> 3) {
+ return;
+ }
+ }
+ static void Main () {}
+}
+gmcs-gen-mistake.cs(5,41): error CS1002: Expecting `;'
+gmcs-gen-mistake.cs(9,21): error CS0116: A namespace can only contain types
+and namespace declarations
+Compilation failed: 2 error(s), 0 warnings
More information about the mono-bugs
mailing list