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

Format PatternMatchValue #6555

Closed
Tracked by #5834
konstin opened this issue Aug 14, 2023 · 2 comments · Fixed by #6799
Closed
Tracked by #5834

Format PatternMatchValue #6555

konstin opened this issue Aug 14, 2023 · 2 comments · Fixed by #6799
Assignees
Labels
formatter Related to the formatter good first issue Good for newcomers

Comments

@konstin
Copy link
Member

konstin commented Aug 14, 2023

Implement formatting for PatternMatchValue, see #5834

Implement formatting for the value pattern:

match x:
    case "Relevant":
        ...
@konstin konstin added good first issue Good for newcomers formatter Related to the formatter labels Aug 14, 2023
@dhruvmanila
Copy link
Member

This could be delegated directly to the expression formatting. We probably just need to make sure that the comments are handled correctly around the pattern itself which might be handled automatically by the expression formatting itself.

This was referenced Aug 14, 2023
@dhruvmanila dhruvmanila added this to the Formatter: Alpha milestone Aug 14, 2023
@evanrittenhouse
Copy link
Contributor

@MichaReiser I can take this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants