Running ocp-indent on the following piece of code
let inst =
match op with
| OP_TEST ->
TEST (r1, o2)
| _ -> CMP (r1, o2)
in
yields
let inst =
match op with
| OP_TEST ->
TEST (r1, o2)
| _ -> CMP (r1, o2)
in
which is totally messed up. However, constructor names other than TEST do not seem to trigger this weird behavior.
ocp-indent --version: 1.8.1