grain icon indicating copy to clipboard operation
grain copied to clipboard

Grainfmt: Add more locations into the parsetree to better place comments

Open phated opened this issue 4 months ago • 0 comments

Currently, code like type Foo4<a /* Test comment */, b> = String will move the comment to after the comma, like type Foo4<a, /* Test comment */ b> = String. We should add the locations of commas, etc to the parsetree so we can place the comments more correctly.

phated avatar Feb 19 '24 21:02 phated