Skip to content

Indentation of infix extension in try blocks #241

@atemp

Description

@atemp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions