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
Hello, I am a zig beginner so feel free to correct if I missed something.
The foo function is unreachable so zig build don't raise a compilation error.
foo
zig build
Zig: 0.6.0 main.zig:
const std = @import("std"); fn foo() void { // Unreachable code const y = 1; y += 1; } pub fn main() void {}
The text was updated successfully, but these errors were encountered:
Welcome, @strangebug. Have a look at #335.
Sorry, something went wrong.
Sorry, didn't saw that one
No problem! There are many issues open
No branches or pull requests
Hello,
I am a zig beginner so feel free to correct if I missed something.
The
foo
function is unreachable sozig build
don't raise a compilation error.Zig: 0.6.0
main.zig:
The text was updated successfully, but these errors were encountered: