Rust updates

David Piepgrass qwertie256 at gmail.com
Wed Jul 11 11:54:59 PDT 2012


>   bool test(int x) { return x & 2 > 0; }
>
> gives:
>
>   foo.d(1): Error: 2 > 0 must be parenthesized when next to 
> operator &

That reminds me, I was so happy the first two times I got an 
undefined symbol error in D. The compiler said: "Did you mean 
'<correct variable name>'?" LOL, don't tell me how it works... 
it's magic, right? I love a good error message.


More information about the Digitalmars-d mailing list