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

Closed
opened 2025-12-30 01:23:50 +01:00 by adam · 0 comments
Owner

Originally created by @HT154 on GitHub (Nov 6, 2025).

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

Originally created by @HT154 on GitHub (Nov 6, 2025). These are considered correctly formatted: ```pkl 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
adam closed this issue 2025-12-30 01:23:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#359