Compiler bug ?

Maxim Fomin maxim at maxim-fomin.ru
Fri May 17 07:35:34 PDT 2013


On Friday, 17 May 2013 at 14:12:10 UTC, Namespace wrote:
> I don't see where k comes from?

I think the point is that it comes from nowhere. Compiler 
incorectly omits two errors from output: "Error undefined 
indentifier" and "template instance error instantiation". This 
should go to bugzilla.

> And it's always a bad idea to prefix a variable with '__', 
> because this is reserved to the compiler.

If it alwalys a bad idea, compiler should not accept such code.


More information about the Digitalmars-d-learn mailing list