> 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.