[Mono-bugs] [Bug 79673][Nor] Changed - Compilation error of generic type parameters
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Oct 18 19:03:01 EDT 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 grompf at sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79673
--- shadow/79673 2006-10-18 18:31:40.000000000 -0400
+++ shadow/79673.tmp.9017 2006-10-18 19:03:01.000000000 -0400
@@ -1,12 +1,12 @@
Bug#: 79673
Product: Mono: Compilers
Version: 1.1
OS: unknown
OS Details: OpenSuse 10.1
-Status: NEEDINFO
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: rowan at stasis.org
@@ -57,6 +57,22 @@
It seems that something in the 1.1.18 parser doesn't like the <, > syntax
anymore .. at let not when using the same value in each part of <, >.
------- Additional Comments From rharinath at novell.com 2006-10-18 18:31 -------
Please provide a selfcontained testcase.
+
+------- Additional Comments From grompf at sublimeintervention.com 2006-10-18 19:03 -------
+using System;
+
+class T{
+ void SomeMethod (Converter <Int32, Int32> converter) {}
+ void SomeCaller () {
+ SomeMethod (delegate (Int32 a) { return a; });
+ }
+}
+
+phenotrophe:~ plasma$ gmcs t.cs
+t.cs(6,15): error CS0692: Duplicate type parameter `Int32'
+t.cs(6,15): (Location of the symbol related to previous error)
+Compilation failed: 1 error(s), 0 warnings
+
More information about the mono-bugs
mailing list