Expression evaluation order

Walter Bright newshound2 at digitalmars.com
Sat Jun 15 10:50:33 PDT 2013


On 6/13/2013 11:14 PM, monarch_dodra wrote:
> 3) specifically unspecified
>    3.5) error when compiler sees ambiguity
>
> I'm personally in favor of 3, with some 3.5 as a warning.

Having a warning for that is "boy who cried wolf", as most functions have side 
effects and any expression like:

    f() + g()

would generate such a warning.



More information about the Digitalmars-d mailing list