https://bugzilla.novell.com/show_bug.cgi?id=370577


           Summary: gmcs is confused by generics methods with the same name
                    when one returns void
           Product: Mono: Compilers
           Version: SVN
          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: ---


Repro:

using System;

class Program {

        static void Foo (Action<string> a)
        {
                a ("action");
        }

        static T Foo<T> (Func<string, T> f)
        {
                return f ("function");
        }

        static void Main ()
        {
                var str = Foo (s => s);
                Console.WriteLine (str);
                Foo (s => Console.WriteLine (s));
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to