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