On 01/09/2013 08:43 AM, David Brown wrote:
Somewhere between 0.5 and
rustc 0.6 (09bb07b 2012-12-24 18:29:02 -0800)
host: x86_64-unknown-linux-gnu
The program below started printing 16959 instead of 999999 (16959 ==
999999 & 0xFFFF). It seems rustc has decided to use a 16-bit integer,
even though the constant doesn't even fit.
This problem has a ticket open:
https://github.com/mozilla/rust/issues/3211
https://github.com/mozilla/rust/issues/3398
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev