Zig NEWS

Discussion on: Writing and Releasing a game in zig

Collapse
samhattangady profile image
Samarth Hattangady Author

Hey.

It's the situation where your code

const big_size = size *12.5;
Enter fullscreen mode Exit fullscreen mode

with the error

error: binary operator `*` has whitespace on one side, but not the other.
Enter fullscreen mode Exit fullscreen mode

It might be a compiler requirement, not zig fmt.
I was just saying from the perspective of how I use the autoformatter to clean up whitespace issues, but this is not considered a whitespace issue, but a bug.