这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ccasin
Copy link

@ccasin ccasin commented Apr 29, 2024

Labeled tuples printing for patterns and expressions had a bug where we'd drop comments that appeared just before an element if that element is:

  • not the first element,
  • not punned, and
  • does not have a type annotation

The bug is simple - I just forgot to check for comments in that case. This fixes it an adds a test.

@goldfirere goldfirere merged commit 3fe3c0d into oxcaml:jane Apr 30, 2024
freemagma pushed a commit to freemagma/ocamlformat that referenced this pull request May 17, 2024
Signed-off-by: Charlie Gunn <cgunn@janestreet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants