[Issue 6058] New: Contract inheritance causes compiler error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 26 06:37:02 PDT 2011


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

           Summary: Contract inheritance causes compiler error
           Product: D
           Version: D1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mathias.baumann at sociomantic.com


--- Comment #0 from Mathias Baumann <mathias.baumann at sociomantic.com> 2011-05-26 06:32:44 PDT ---
Created an attachment (id=990)
Test Case for Contract Inheritance Error

I am getting the error:

main2.d(18): Error: cast(Object)__result is not an lvalue

When using contracts with inheritance in certain cases. See the attached
test-case for a demonstration of the problem

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