Precedences of unary minus and dot operators

Dicebot public at dicebot.lv
Fri Nov 8 05:08:01 PST 2013


On Friday, 8 November 2013 at 12:49:38 UTC, bearophile wrote:
> Is this a good design of the operator precedences? Is this 
> worth changing/fixing?
>
> Bye,
> bearophile

Yes it is expected and reasonable to me. Otherwise you'd need 
brackets for every expression like this: `-aggregate.field`


More information about the Digitalmars-d mailing list