Skip to content

Conversation

@kayagokalp
Copy link
Member

About this PR

closes #2404.
closes #2407.
closes #2415.

This PR implements comment handling for where clauses & changes dot notation to tuple matching & implements unblocked todo's around the codebase.

…left out places, add where visiting to comments
@kayagokalp kayagokalp added this to the swayfmt-v2 milestone Jul 29, 2022
@kayagokalp kayagokalp self-assigned this Jul 29, 2022
@kayagokalp kayagokalp requested review from a team and eureka-cpu July 29, 2022 12:57
@kayagokalp kayagokalp marked this pull request as ready for review July 29, 2022 12:57
@kayagokalp kayagokalp enabled auto-merge (squash) July 29, 2022 12:57
Copy link
Contributor

@eureka-cpu eureka-cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@kayagokalp kayagokalp requested a review from a team July 29, 2022 15:05
Copy link
Contributor

@sezna sezna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I think we can be a lot meaner with the comment tests. But there's no end to the complexity you can have in comments, so this is probably a good start.

E.g.

struct /* a comment*/ Foo<T: /* another comment! */ Eq +
 /* another comment */ Ord {
  field_1: Result<
       /* a comment, believe it or not */ i32,
       /*wow*/ Error /* and another! */ >
}

@kayagokalp kayagokalp merged commit dbe1acd into master Jul 30, 2022
@kayagokalp kayagokalp deleted the kayagokalp/2404 branch July 30, 2022 01:00
@kayagokalp kayagokalp mentioned this pull request Aug 9, 2022
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

4 participants