Skip to content

Fix std.fmt.Parser.peek compiler error from #20505 #21854

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

Closed
wants to merge 1 commit into from

Conversation

gitabaz
Copy link

@gitabaz gitabaz commented Oct 30, 2024

Simple fix to the compiler error in std.fmt.Parser.peek:

error: variable of type 'comptime_int' must be const or comptime
        var i = 0;
            ^
note: to modify this variable at runtime, it must be given an explicit fixed-size number type

@Rexicon226
Copy link
Contributor

duplicate PR of #20532

@gitabaz gitabaz closed this Oct 30, 2024
@gitabaz gitabaz deleted the parser-peek branch October 30, 2024 01:25
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.

2 participants