[Mono-bugs] [Bug 80534][Wis] New - [GMCS] Inference of generic parameters fails
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jan 16 18:56:37 EST 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 dmitchell at logos.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80534
--- shadow/80534 2007-01-16 18:56:37.000000000 -0500
+++ shadow/80534.tmp.12650 2007-01-16 18:56:37.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 80534
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details: Also confirmed on Mac OS X
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: dmitchell at logos.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [GMCS] Inference of generic parameters fails
+
+Description of Problem:
+The attached file has two functions. The first does nothing, but takes
+some generic parameters. The second function calls the first but does not
+explicitly provide the generic parameters. Microsoft's C# compiler
+correclty infers the parameter values, but gmcs reports error CS0411
+
+Steps to reproduce the problem:
+1. Download the attached source file
+2. Attempt to compile it with the /target:library option
+
+Actual Results:
+
+With gmcs under Mono 1.2.2.1 - The second function results in a CS0411
+error.
+
+With csc: Compilation completes successfully
+
+
+Expected Results:
+Compilation should complete successfully
+
+How often does this happen?
+Always
More information about the mono-bugs
mailing list