[Issue 1078] Frontend uses of 'auto' where 'scope' should be used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 22 12:49:55 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1078





------- Comment #1 from deewiant at gmail.com  2007-03-22 14:49 -------
Realized that it might be easier to fix in a development version of DMD if I
gave you the lines as well as the line numbers...

declaration.c, 755: error("globals, statics, fields, inout and out parameters
cannot be auto");
declaration.c, 761: error("reference to auto class must be auto");
expression.c, 3175: error("escaping reference to auto local %s", v->toChars());
func.c, 135: error("functions cannot be const or auto");
mtype.c, 2680: error(loc, "functions cannot return auto %s", next->toChars());


-- 



More information about the Digitalmars-d-bugs mailing list