[Issue 1730] Bogus error message calling a non-const struct method on a const struct reference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 13 07:25:53 PST 2010


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


Michal Spadlinski <gim913 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gim913 at gmail.com


--- Comment #4 from Michal Spadlinski <gim913 at gmail.com> 2010-03-13 07:25:52 PST ---
I has similar problem with:

struct Foo {
    bool boo() {
        return false;
    }

    int foo () const {
        assert (boo);
        return 66;
    }
}

this message is totally misleading

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