Skip to content

Multiline Tuple type with inline comments formats incorrectly #11328

@Blacksmoke16

Description

@Blacksmoke16

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
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugA bug in the code. Does not apply to documentation, specs, etc.topic:tools:formatter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions