Closed iguerNL closed 5 years ago
I have witnessed the second change as well while trying out 1.7.0. I'm interested to read about the follow up on that change. +subscribe.
change with version 1.6.1: indentation of 'fun x' and 'x + 1' are now at the same level.
The first point seems like a regression, I'll look into it. Probably related to #277, and the changes in extension points handling.
The second point is wanted, as per the changelog:
* indent the same (1 step) after `let f = fun x ->` and `let f =\n fun x ->`
Thanks for reporting
The OCaml parser indeed has a weird behaviour on these cases, reported as https://caml.inria.fr/mantis/view.php?id=7916
AFAIK, indentation of
let j = ...
in the example below is not correct:I also noticed a change in the indentation of code inside a
fun ... ->
wrt version 1.6.1. I don't know if it is wanted: