zig fmt
fails with unhelpful error message when a comment contains a tab
#3737
Labels
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
standard library
This issue involves writing Zig code for the standard library.
Milestone
Formatting the following code with
zig fmt
fails:// this is broken!
It does not matter where the comment with the tab is, the error message stays the same, pointing to
filename.zig:1:1
, so it's hard to find what causes thisThe text was updated successfully, but these errors were encountered: