A bit unclear error message in case of nested ifs without braces #15842
Labels
error message
This issue points out an error message that is unhelpful and should be improved.
Milestone
Zig Version
0.10.1
Steps to Reproduce and Observed Output
Compile this:
Error message:
Expected Output
This can be fixed by putting braces for first
if
.Maybe, error message should tell exactly about missing braces?..
The text was updated successfully, but these errors were encountered: