[Issue 17474] non-property being treated as a property

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 9 21:04:53 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17474

--- Comment #5 from Stefan Koch <uplink.coder at gmail.com> ---
(In reply to Walter Bright from comment #4)
> I'm not sure what the "right" semantics are, either, because each of the
> behaviors can be justified.

I am pretty sure the last thing you want is a function to be invoked as a
setter property if it returns an Lvalue.

--


More information about the Digitalmars-d-bugs mailing list