On Sunday, February 03, 2013 13:34:14 Jacob Carlborg wrote: > On 2013-02-03 09:16, Andrei Alexandrescu wrote: > > Walter and I have had a discussion on how to finalize properties. > > > > http://wiki.dlang.org/DIP23 > > What about: > > writeln = "asd"; > > Allowed or not?
I take it that you didn't read the DIP. At the very beginning of its section on "Write properties:" ----------- In order to use the assignment operator "=" property-style, the @property annotation MUST be used. ----------- - Jonathan M Davis
