Skip to content

Incorrect formatting following a line comment in Map() call #1307

@HT154

Description

@HT154

These are considered correctly formatted:

foo =
  Map(
    1, 2,
    3, 4, // hi!
    5,
    6,
    7, 8,
  )

bar =
  Map(
    1, 2,
    3, 4,
    // hi!
    5,
    6,
    7, 8,
  )

The two arguments following the line comment should be on the same line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions