On 05/17/2013 09:35 AM, Maxim Fomin wrote: > 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.
It is not the D way to forbid you from shooting yourself in the foot. goto, catch(Throwable th), there are plenty more examples.
signature.asc
Description: OpenPGP digital signature