Compiler bug ?
1100110
0b1100110 at gmail.com
Fri May 17 09:59:38 PDT 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130517/afcfcbc2/attachment.pgp>
More information about the Digitalmars-d-learn
mailing list