[Mono-bugs] [Bug 80060][Min] New - :: operator does not work in generics parameter type resolution

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Nov 26 16:11:04 EST 2006


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 jan.oravec at 6com.sk.

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

--- shadow/80060	2006-11-26 16:11:04.000000000 -0500
+++ shadow/80060.tmp.10903	2006-11-26 16:11:04.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 80060
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: jan.oravec at 6com.sk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: :: operator does not work in generics parameter type resolution
+
+Compiling code:
+
+using X = N;
+namespace N { class A {} }
+class B<T> { public B<X::A> q; }
+
+fails with
+d.cs(3,24): error CS8025: Parsing error
+Compilation failed: 1 error(s), 0 warnings
+
+Replacing '::' with '.' works.
+
+I haven't any Windows around to check csc behaviour, but I believe '::'
+should be allowed there.


More information about the mono-bugs mailing list