Forbid dynamic arrays in boolean evaluation contexts

bearophile bearophileHUGS at lycos.com
Mon Mar 25 10:05:30 PDT 2013


Phil Lavoie:

> You think it should check for length to be more programmer 
> friendly,

My proposal is to turn "if(dyn_arr)" into a syntax error.

Bye,
bearophile


More information about the Digitalmars-d mailing list