[Issue 5472] New: Overriding virtual function with qualified parameters causes error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 21 07:01:54 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5472

           Summary: Overriding virtual function with qualified parameters
                    causes error
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: eatingstaples at gmail.com


--- Comment #0 from eatingstaples at gmail.com 2011-01-21 06:59:54 PST ---
Created an attachment (id=874)
Code demonstrating the issue.

Overriding a function in a base class with the same parameters, but different
qualifiers on those parameters (such as const or immutable) causes an error,
even if the parameters are value-type parameters.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list