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

Conversation

@rtjoa
Copy link

@rtjoa rtjoa commented Sep 29, 2025

Fix BUG: generating invalid ocaml syntax error for type parameters with both a jkind annotation and an attribute.

This cause of this is that

type ('a[@foo] : value) t

currently gets formatted with the attribute after the jkind annotation:

type ('a : value[@foo]) t

Testing

Added regression test.

@rtjoa rtjoa requested a review from dvulakh September 29, 2025 17:31
dvulakh and others added 2 commits September 29, 2025 14:12
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
@rtjoa rtjoa requested a review from dvulakh September 29, 2025 18:44
Copy link

@dvulakh dvulakh left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@rtjoa rtjoa merged commit ce24178 into jane Sep 29, 2025
2 checks passed
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.

3 participants