On 12/12/2011 4:52 PM, Steven Schveighoffer wrote:
On Mon, 12 Dec 2011 19:42:48 -0500, Jonathan M Davis
<[email protected]> wrote:
-property makes it so that properties must be used like variables and
non-
property functions cannot be. In theory, that will become the default
behavior
of the compiler eventually, but we couldn't enable it immediately due
to a
combination of bugs with @property and the fact that it would break
code. For
now, people can build with -property to make sure that their code uses
properties properly.
To clarify, Jonathan is talking about using the -property command line
switch for dmd.
-Steve
Oh shoot, I hadn't heard of that switch. That's awesome, thanks!