[Mono-bugs] [Bug 377822] New: [GMCS] Invalid ambiguity with generic methods and lambda expressions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 7 22:54:48 EDT 2008


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: mono-bugs at lists.ximian.com
        ReportedBy: juan.wajnerman at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list