We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ cat -n main.zig 1 fn foo() { // missing the return type 2 bar(); 3 } 4 5 fn bar() void { 6 // 7 } 8 9 pub fn main() void { 10 foo(); 11 } $ zig build-exe main.zig /home/miura/work/foo/main.zig:5:1: error: expected token '{', found 'fn' fn bar() void { ^ $
Something like main.zig:1:11: error: missing type would be better.
main.zig:1:11: error: missing type
The text was updated successfully, but these errors were encountered:
This is #760. I'm not sure what the solution is yet.
Sorry, something went wrong.
No branches or pull requests
Something like
main.zig:1:11: error: missing type
would be better.The text was updated successfully, but these errors were encountered: