zig fmt of array init with switch not idempotent #22778
Labels
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
zig fmt
Milestone
Zig Version
0.14.0-dev.3051+cf059ee08
Steps to Reproduce and Observed Behavior
Initial code:
After a single
zig fmt
invocation:After two or more
zig fmt
invocations:Expected Behavior
It should only take a single zig fmt invocation to reach the canonical format.
The text was updated successfully, but these errors were encountered: