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

           Summary: Incorrect CS0111 error
           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: ---


This breaks compilation of IronPython 2.0 Alpha 5.

public class test {
    public void CreateSimpleCallSite(int x) {}
    public void CreateSimpleCallSite<A>() {}
    public void CreateSimpleCallSite<A>(int x) {}
}

test.cs(4,17): error CS0111: A member `test.CreateSimpleCallSite<A>(int)' is
already defined. Rename this member or use different parameter types
test.cs(2,17): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings

The code compiles with Mono 1.2.5 and MS.NET.


-- 
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