Improve error for a function declared inside another function #17440
Labels
error message
This issue points out an error message that is unhelpful and should be improved.
Milestone
Zig Version
0.11.0
Steps to Reproduce and Observed Output
Build a file containing the following code:
The error:
After adding the semicolon as suggested:
After removing the name as suggested:
Expected Output
Something similar to:
The text was updated successfully, but these errors were encountered: