Teach typechecker that uint is <plusable>.
b74330e
Opened by Roy Frostig at
At the moment,
fn main() {
let uint i = uint(1);
i += uint(1);
}
fails to compile, giving the error:
uintplus.rs:3:2 - 4:0:E:Error: mismatched types: uint vs. <plusable>
Fix this.
Teach the typechecker that uints are integral types. Closed by 66d313d36514f67fb0d8444137faa9692346508f.
Roy Frostig at 2010-06-28 22:27:17