dev
dev copied to clipboard
return in logical function not working with all opcodes
Currently in logical functions we are allowed to do:
return val == 4
where I guess the expression is executed setting condition result then function is exited with 0AB2 opcode.
Trying to do very similar thing:
return not is_bit_set {number} flags {bitIndex} 1
results in compilation error.
By the way it is worth consider of using new is_truthy
opcode for code like return value
inside logical functions.