[Issue 6707] Error message for mismatch of const/non-const property functions needs to improve
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 4 13:02:22 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6707
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-04 12:56:30 PDT ---
Better test case:
struct Foo
{
@property bool value() { return true; }
void test() const
{
auto x = value; // not callable using argument types ()
auto y = value(); // not callable using argument types () const
}
}
void main() { }
It seems 'this' for property func isn't printed out properly unless it's called
as a function, I'll see if this is fixable.
--
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