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

Conversation

@freemagma
Copy link

Updates both parser-standard and parser-extended to be able to parse any string as a layout name. This puts them in line with the behavior of the flambda-backend compiler's parser.

Signed-off-by: Charlie Gunn <cgunn@janestreet.com>
Copy link

@goldfirere goldfirere left a comment

Choose a reason for hiding this comment

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

Looks good. It's worth adding a few tests.

Charlie Gunn added 2 commits May 3, 2024 18:13
Signed-off-by: Charlie Gunn <cgunn@janestreet.com>
Signed-off-by: Charlie Gunn <cgunn@janestreet.com>
@goldfirere goldfirere merged commit 3d5a5f6 into oxcaml:jane May 6, 2024
freemagma added a commit to freemagma/ocamlformat that referenced this pull request May 17, 2024
* passes tests

Signed-off-by: Charlie Gunn <cgunn@janestreet.com>

* changed name of the type back to [const_layout]

Signed-off-by: Charlie Gunn <cgunn@janestreet.com>

* added some tests

Signed-off-by: Charlie Gunn <cgunn@janestreet.com>

---------

Signed-off-by: Charlie Gunn <cgunn@janestreet.com>
Co-authored-by: Charlie Gunn <cgunn@janestreet.com>
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