Closed aecepoglu closed 1 year ago
Given test.ml
test.ml
let f1 x = let y = 4 in x + y
cat test.ml | tail -2 | ocp-indent --config="in=3" --lines=2- should output
cat test.ml | tail -2 | ocp-indent --config="in=3" --lines=2-
let y = 4 in x + y
But it produces:
When --lines statement is given, shouldn't (x + y) line be indented with respect to let y = 4 ?
--lines
(x + y)
let y = 4
For reference:
cat test.ml | ocp-indent --config="in=3" outputs following correctly :heavy_check_mark:
cat test.ml | ocp-indent --config="in=3"
Given
test.ml
cat test.ml | tail -2 | ocp-indent --config="in=3" --lines=2-
should outputBut it produces:
When
--lines
statement is given, shouldn't(x + y)
line be indented with respect tolet y = 4
?For reference:
cat test.ml | ocp-indent --config="in=3"
outputs following correctly :heavy_check_mark: