When bit shifting, coerce to the result type first, then shift. · Issue #6903 · ziglang/zig

var foo: u32 = 0; var bar: u8 = 1; foo = bar << 8; The code above gives an error saying: error: integer value 8 cannot be coerced to type 'u3' It seems like it is checking the RHS of bit shift with...