Skip to content
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

Weird format for structs with long field names / options #29

Open
quangIO opened this issue Dec 16, 2021 · 1 comment
Open

Weird format for structs with long field names / options #29

quangIO opened this issue Dec 16, 2021 · 1 comment

Comments

@quangIO
Copy link

quangIO commented Dec 16, 2021

Original

(struct S
            ([aaaaa #:mutable] [bbbbbbbbbbb #:mutable]
                         [ccccc #:mutable]
                         [ddddd #:mutable]
                         [eeeee #:mutable])
  #:transparent)

After

(struct S
        ([aaaaa #:mutable] [bbbbbbbbbbb #:mutable]
                           [ccccc #:mutable]
                           [ddddd #:mutable]
                           [eeeee #:mutable])
  #:transparent)

Expected?

Shouldn't fmt change it to something like:

(struct S
        ([aaaaa #:mutable] 
         [bbbbbbbbbbb #:mutable]
         [ccccc #:mutable]
         [ddddd #:mutable]
         [eeeee #:mutable])
  #:transparent)
@sorawee
Copy link
Owner

sorawee commented Dec 16, 2021

Thanks! I will fix this tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants