Misleading error when using ||
instead of or
with comparisons
#15526
Labels
error message
This issue points out an error message that is unhelpful and should be improved.
Milestone
Zig Version
0.11.0-dev.2868+1a455b2dd
Steps to Reproduce and Observed Output
Output:
Expected Output
If I add some parenthesis around the
a == 0
then I get a more useful error:The text was updated successfully, but these errors were encountered: