https://d.puremagic.com/issues/show_bug.cgi?id=12321

           Summary: Contracts of implemented interface method aren't
                    called
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2014-03-08 11:41:33 PST ---
DMD64 D Compiler v2.065

Contract isn't called:
```
interface IA 
{
    shared void foo();
}

synchronized class A : IA
{
    void foo()
    in 
    {
        assert(false);
    }
    body
    {

    }

}

void main()
{
    shared IA a1 = new shared A();

    a1.foo();
}
```

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

Reply via email to