Closed dplassgit closed 6 months ago
This line is giving an error:
if right & 1 == 1 {
Type error at line 19, column 8: Incompatible types for operator &; left operand is INT but right is BOOL Type error at line 19, column 8: Cannot use INT expression in IF or ELIF; must be BOOL
This is the same as in Java, which says "The operator & is undefined for the argument type(s) int, boolean"
This is WAI.
This line is giving an error:
if right & 1 == 1 {