On Friday, 4 August 2017 at 09:58:34 UTC, Mike Parker wrote:
Also, class references are *already* references, so you don't need to declare the function parameters as ref. Finally, although this is not an error, @property has no effect on member variables. It only applies to member functions. Also, you never assign a value to myProperty, so even when the errors are fixed nothing is printed.
Actually, in case I gave the wrong impression, @property can be applied to any function, not just member functions.