vfmt's recent automatic const scope unwrapping ruins valuable trailing comments in vlang/sdl
#20000
Labels
Bug
This tag is applied to issues which reports bugs.
Describe the bug
vfmt's recent automatic const scope unwrapping ruins valuable trailing comments in
vlang/sdl
:Reproduction Steps
Run
v fmt -w ~/.vmodules/sdl/audio.c.v
and see how comments are moved to new lines below the statements and as an extra bonus it will also eat the last trailing comment 😄Expected Behavior
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.3 b088f43
Environment details (OS name and version, etc.)
Arch-based EndeavourOS
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: