[Mono-bugs] [Bug 610207] New: Incorrect virtual base methods invoked

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 30 12:36:12 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=610207

http://bugzilla.novell.com/show_bug.cgi?id=610207#c0


           Summary: Incorrect virtual base methods invoked
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: amcgovern at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=365686)
 --> (http://bugzilla.novell.com/attachment.cgi?id=365686)
testcase

In the attached testcase, gmcs appears to pick a fuzzy match in the immediate
base class (B) as opposed to choosing an exact match two levels deep (in A).
The test case is gotten from the email: "[Mono-dev] Compiler bug in foreach"
and these are the expected versus actual results:

Actual Results:
-In A for Y
-In A for Y
-In A for X
In B for X
In C for Y
-In A for Y

Expected Results:
-In A for Y
-In A for Y
-In A for Y
In C for Y
-In A for Y

-- 
Configure bugmail: http://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