The problem with @properties in D
Steven Schveighoffer
schveiguy at yahoo.com
Mon Dec 12 16:52:53 PST 2011
On Mon, 12 Dec 2011 19:42:48 -0500, Jonathan M Davis <jmdavisProg at gmx.com>
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
More information about the Digitalmars-d
mailing list