[Mono-bugs] [Bug 82027][Nor] New - CS0693 not reported for type parameter name clash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jul 7 03:33:02 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=82027
--- shadow/82027 2007-07-07 03:33:01.000000000 -0400
+++ shadow/82027.tmp.18928 2007-07-07 03:33:01.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 82027
+Product: Mono: Compilers
+Version: 1.2
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0693 not reported for type parameter name clash
+
+gmcs currently does not report CS0693 when a type parameter has the the
+same name as the type parameter from the declaring type.
+
+To reproduce, compile the following code snippet (using
+gmcs /target:library test.cs):
+
+class SlowConvert<K, T>
+{
+ public void Reverse<K, B> ()
+ {
+ }
+}
+
+Expected result:
+
+test2.cs(3,22): warning CS0693: Type parameter 'K' has the same name as
+the type parameter from outer type 'SlowConvert<K,T>'
+
+Actual result:
+
+No warning.
More information about the mono-bugs
mailing list