new DIP5: Properties 2

Kagamin spam at here.lot
Mon Jul 27 06:40:04 PDT 2009


Michel Fortin Wrote:

> I mean, what's the purpose of giving a type to the namespace when you 
> already have a type for the opGet return value?

It's more of property than namespace, so opGet return type can be inferred from the property type. See the paragraph about type inference for getter and setter.



More information about the Digitalmars-d mailing list