From the spec:
Except for shift operations, if one operand is an untyped constant and the other operand is not, the constant is converted to the type of the other operand.