This repro, however, raises an error (and the path which raises an error should not be hit):
.equ correct_answer = 10
.equ incorrect_answer = 18
.equ value = correct_answer
.if value = incorrect_answer
.error "The incorrect answer has been chosen."
.endif
The documentation indicates that you can perform an equality check in an
.if
directive using the=
operator:This repro, however, raises an error (and the path which raises an error should not be hit):
Looking at the source code, it looks as though the correct operator is
==
and when the second character is not=
it instead falls through to bitwise AND.