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



--- Comment #5 from ´┐Żyvind Grotmol <dl...@grotmol.net> 2012-04-21 11:52:23 PDT 
---
(In reply to comment #4)
> It compiles and runs on DMD 2.059 Win32

Hi,

Could you check this one also please?
By mistake the file I uploaded had commented out one of the contracts, and then
the file does indeed work. It is only when both contracts are in place, that
dmd crashes.

class A {
    int foo(int i)
    out (result) { }
    body { return 1; }
}

class B : A {
    int foo(int i)
    out (result) { }
    body { return 1; }

}

class C : B {
    int foo(int i) { return 1; }
}

void main() {
}

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

Reply via email to