foundry
foundry copied to clipboard
Formatter does not handle params_first correctly when only one param
Component
Forge
Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
None
Describe the bug
When there is only one parameter and the formatter needs to wrap a header line it does not follow the definition of 'params_first'. Instead it wraps the modifiers first. This creates discontinuity throughout the code where some headers wrap arguments and some wrap modifiers.
could you please provide a code example?
Hi @funderbrker, a minimal reproduction example would be appreciated