if(arr) now a warning

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 30 05:08:13 PDT 2015


On Thursday, 30 April 2015 at 11:46:05 UTC, Daniel Murphy wrote:
> Is that from string lambdas?

I don't know. The one in std.exception is probably due to an 
array being used as a condition for enforce.

> Does it give an instantiation trace when you use it with 
> warning as errors?

It doesn't.


More information about the Digitalmars-d mailing list