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

Multiline Tuple type with inline comments formats incorrectly #11328

Open
Blacksmoke16 opened this issue Oct 17, 2021 · 0 comments
Open

Multiline Tuple type with inline comments formats incorrectly #11328

Blacksmoke16 opened this issue Oct 17, 2021 · 0 comments
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:formatter

Comments

@Blacksmoke16
Copy link
Member

Blacksmoke16 commented Oct 17, 2021

Example code:

private alias TupleType = Tuple(
  Hash(String, String), # defaults
  Set(String), # variables
)

Gets reformatted to:

  private alias TupleType = Tuple(Hash(String, String),  # defaults
Set(String)                                              # variables
)
@Blacksmoke16 Blacksmoke16 added the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:formatter
Projects
None yet
Development

No branches or pull requests

2 participants