grain
grain copied to clipboard
Grainfmt: Add more locations into the parsetree to better place 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.