Skip to content

Conversation

Julow
Copy link
Contributor

@Julow Julow commented Apr 3, 2023

An indented let inside a struct ... end was incorrectly interpreted as a LetIn.

Same motivation as in #323. The indentation of fun is different inside a Let and a LetIn.

An indented `let` inside a `struct ... end` was incorrectly interpreted
as a `LetIn`.
Copy link
Contributor

@NathanReb NathanReb left a comment

Choose a reason for hiding this comment

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

Sorry for the 2.5 years delay and thanks for the fix!

I took the liberty to rebase your branch. I'm just waiting for the CI to go green and I'll merge!

@NathanReb NathanReb merged commit 05bf65d into OCamlPro:master Sep 22, 2025
7 checks passed
NathanReb pushed a commit to Julow/ocp-indent that referenced this pull request Sep 22, 2025
Signed-off-by: Nathan Rebours <[email protected]>
@Julow
Copy link
Contributor Author

Julow commented Sep 23, 2025

Thanks!

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