-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingformatterRelated to the formatterRelated to the formatter
Milestone
Description
In this case, comments a and b are leading on 2, but should be leading on a node for the entire b=2 (this requires an AST change):
case A(
b # b
= # c
2 # d
# e
):
passIn this case, the comment should be an open parenthesis comment on the arguments, but is currently a leading comment on x due to our generic parenthesized comment handling (which thinks x is parenthesized, rather than in a call) (this requires an AST change):
case Point2D( # end of line line
x
):
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingformatterRelated to the formatterRelated to the formatter