New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatter eats comments on the first argument of a function #6661
Comments
This appears to be a regression since 11.0.0 |
cknitt
changed the title
Formatter eats comments on labeled arguments
Formatter eats comments on the first argument of a function
Feb 29, 2024
Also happens for non-labeled arguments. But only for the first argument of the function. E.g., external test: (
// comment
int,
// comment
int,
) => unit = "test" gets reformatted to external test: (
int,
// comment
int,
) => unit = "test" |
I can work on this, I wonder if it's a regression after my PR here #6615 |
@shulhi That would be great, thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example (tested with 11.0.1):
gets reformatted to
The text was updated successfully, but these errors were encountered: