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 [EMAIL PROTECTED]

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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to