https://bugzilla.novell.com/show_bug.cgi?id=377822
Summary: [GMCS] Invalid ambiguity with generic methods and lambda
expressions
Product: Mono: Compilers
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=206629)
--> (https://bugzilla.novell.com/attachment.cgi?id=206629)
Sample code
Description of Problem:
Steps to reproduce the problem:
1. Compile the attached source with gmcs
Actual Results:
Test.cs(9,22): error CS0121: The call is ambiguous between the following
methods or properties: `Test.Foo(System.Action)' and
`Test.Foo<void>(System.Func<void>)'
Test.cs(16,22): (Location of the symbol related to previous error)
Test.cs(20,22): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
Expected Results:
No errors (this works with MS csc.exe)
How often does this happen?
Always
Additional Information:
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs