read-only access

Jesse Phillips jessekphillips+D at
Tue Nov 2 15:02:04 PDT 2010

Steven Schveighoffer Wrote:

> It does not say that functions should be callable without parentheses,  
> because that mis-feature is deprecated.  Essentially, to someone who is  
> new to D, there is no need to mention the historical features of D.  It  
> does say that you need to put @property on functions to make them into  
> properties.  At least the copy I reviewed said that (I don't have a final  
> copy).
> -Steve

I think part of my distrust is I recall getting an error message to the effect of:

Error: cannot call property function using ()

But I'm not getting any such error now, so I don't know what I was fixing.

More information about the Digitalmars-d-learn mailing list