Skip to content

Format PatternMatchStar #6558

@dhruvmanila

Description

@dhruvmanila

This would be done in a similar manner as mentioned here (#6555 (comment)) except that this would be delegated to Identifier formatting instead.

Implement formatting for the *pat pattern

match x:
    case [1, 2, *rest]:
        ...
    case [*_]:
        ...

Metadata

Metadata

Assignees

Labels

formatterRelated to the formattergood first issueGood for newcomershelp wantedContributions especially welcome

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions