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



--- Comment #12 from bearophile_h...@eml.cc 2010-11-05 11:17:28 PDT ---
See the closed bug 5171 for code that may be disallowed statically:


class A {
    @disable override equals_t opEquals(Object other) {
        return false;
    }
}

void main() {
    auto a = new A();
    auto b = new A();

    if(a == b)
        assert(0);
}

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

Reply via email to