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

Indentation of infix extension in try blocks #241

Open
atemp opened this issue Oct 26, 2020 · 0 comments
Open

Indentation of infix extension in try blocks #241

atemp opened this issue Oct 26, 2020 · 0 comments

Comments

@atemp
Copy link

atemp commented Oct 26, 2020

If an infix extension is added to a try, the expression is indented by 6 spaces instead of 2:

let _ =
  try%lwt
        1
  with
    _ -> 2

A try without an extension works:

let _ =
  try
    1
  with
    _ -> 2

IMHO the try%lwt should be indented like that:

let _ =
  try%lwt
    1
  with
    _ -> 2
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

No branches or pull requests

1 participant