[Mono-bugs] [Bug 80531][Nor] New - [GMCS] Returning generic delegates can incorrectly cause CS1503 errors

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 16 16:56:54 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=80531

--- shadow/80531	2007-01-16 16:56:54.000000000 -0500
+++ shadow/80531.tmp.10939	2007-01-16 16:56:54.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 80531
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: Also confirmed on Mac OS X
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: dmitchell at logos.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] Returning generic delegates can incorrectly cause CS1503 errors
+
+Description of Problem:
+The attached file has two functions that take delegates and wrap them in 
+new, anonymous delegates. The code compiles fine with Microsoft's C# 
+compiler, but fails with the Mono C# compiler
+
+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 - Both functions result in CS1503 errors. 
+Note that, despite their extreme similarity, the text of the error in 
+CS1503 is slightly different.
+
+With gmcs under Microsoft's .NET 2.0: gmcs crashes with an unhandled 
+System.NotSupportedException.
+
+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