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



--- Comment #3 from Stewart Gordon <s...@iname.com> 2009-11-20 11:10:48 PST ---
Probably part of the same bug:

----------
class Class {
    void fn1() const {
        fn2();
    }

    void fn2() {}
}
----------
const_call.d(3): Error: function const_call.Class.fn2 () is not callable using
argument types () const
----------

This may make sense at the internal level, as trying to convert the 'this'
argument implicitly from const(Class) to Class.  But as a user error message,
it's confusing.

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

Reply via email to