Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refmt breaks with multiline comment and OCaml 4.08 Binding operators #2649

Open
rohitkg98 opened this issue Mar 13, 2021 · 0 comments
Open
Labels
Parser parsing reason code into an AST

Comments

@rohitkg98
Copy link

When let* is used after a multiline comment, refmt signals an Unclosed "{" ... error.

Check an example of such code here: https://github.com/esy/esy/blob/master/test-e2e-re/lib/Helpers.re#L57

I rectified the current issue by using Single Line comments instead: esy/esy@0271ffa#diff-d48981202dea0e43079feef93f441a8dc5b5a093b53d08c29adc7f5875bd0645L56

@davesnx davesnx added Printer things that have to do with turning an AST into Reason code Parser parsing reason code into an AST and removed Printer things that have to do with turning an AST into Reason code labels Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Parser parsing reason code into an AST
Projects
None yet
Development

No branches or pull requests

2 participants