Skip to content

Fix compile error in std.fmt.Parser.peek() #20532

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

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

simeks
Copy link
Contributor

@simeks simeks commented Jul 7, 2024

I was playing around with std.fmt.Parser and got hit by a compile error when it was not used in comptime.

Fixes #20500, which I noticed as I was creating this PR.

@alexrp alexrp force-pushed the fmt-compile-error branch from 1b81510 to fb8e0d6 Compare October 30, 2024 02:40
@alexrp alexrp enabled auto-merge (squash) October 30, 2024 02:41
@alexrp alexrp merged commit 17a87d7 into ziglang:master Oct 30, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

std.fmt.Parser.peek() potential problem and fix therefore
2 participants