Skip to content
New issue

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

Change errors switch example into zig test output #443

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

josephmr
Copy link
Contributor

@josephmr josephmr commented Mar 1, 2025

This example was being built via zig build-exe but is written as a zig test example. The output on the website is an error about not having a main function instead of an error about not specifying all possibilities of an error in a switch.

image

Closes #400
Closes #425

This example was being built via zig build-exe but is written as a
zig test example. The output on the website is an error about not
having a main function instead of an error about not specifying
all possibilities of an error in a switch.
@kristoff-it kristoff-it merged commit f23a904 into ziglang:main Mar 6, 2025
@kristoff-it
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants