File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
ocaml-lsp-server/src/code_actions Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- version=0.27.0
1+ version=0.28.1
22profile=janestreet
33ocaml-version=4.14.0
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ possible and does not make any assumptions about IO.
6464 astring
6565 camlp-streams
6666 ( ppx_expect ( and ( >= v0.17.0) :with -test) )
67- ( ocamlformat ( and :with -test ( = 0 .27.0 ) ) )
67+ ( ocamlformat ( and :with -test ( = 0 .28.1 ) ) )
6868 ( ocamlc-loc ( >= 3 .7.0) )
6969 ( pp ( >= 1 .1.2) )
7070 ( csexp ( >= 1 .5) )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ depends: [
3939 "astring"
4040 "camlp-streams"
4141 "ppx_expect" {>= "v0.17.0" & with-test}
42- "ocamlformat" {with-test & = "0.27.0 "}
42+ "ocamlformat" {with-test & = "0.28.1 "}
4343 "ocamlc-loc" {>= "3.7.0"}
4444 "pp" {>= "1.1.2"}
4545 "csexp" {>= "1.5"}
Original file line number Diff line number Diff line change @@ -217,12 +217,12 @@ let beta_reduce (paths : Paths.t) (app : Parsetree.expression) =
217217 if is_pure arg then body else with_let ()
218218 | Ppat_var param | Ppat_constraint ({ ppat_desc = Ppat_var param ; _ } , _ ) ->
219219 if is_pure arg then with_subst param else with_let ()
220- | Ppat_tuple ( pats , _ ) ->
220+ | Ppat_tuple (pats , _ ) ->
221221 let pats = List. map ~f: snd pats in
222222 (match arg.pexp_desc with
223223 | Pexp_tuple args ->
224- let args = List. map ~f: snd args in
225- List. fold_left2 ~f: beta_reduce_arg ~init: body pats args
224+ let args = List. map ~f: snd args in
225+ List. fold_left2 ~f: beta_reduce_arg ~init: body pats args
226226 | _ -> with_let () )
227227 | _ -> with_let ()
228228 in
You can’t perform that action at this time.
0 commit comments