On 04/22/2014 07:08 PM, bearophile wrote:
This code gives four problems to Dscanner:

void main() {
     auto x = float(5);
This is not valid. DMD and the grammar spec both do not allow this.
     auto r = 1. + 2;
Fixed. (https://issues.dlang.org/show_bug.cgi?id=12623)
     int items[5];
I don't support C-style declarations. DMD doesn't really support them either. (https://issues.dlang.org/show_bug.cgi?id=953)
     import std.stdio;
     int.max.writeln;
Fixed.
}

Andrei Alexandrescu was very wrong to think that implicit string concatenation is a speck of dust. I am not going to close down that enhancement request.

It's a very bad feature. Every time I've ever used it has been a bug.

Reply via email to