Skip to content

Commit

Permalink
Switch to ocamlformat.0.16.0 (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetiot authored Nov 18, 2020
1 parent 468b920 commit 28b4c20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ocamlformat
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ break-infix-before-func
break-separators=before
dock-collection-brackets=false
margin=90
version=0.15.1
version=0.16.0
12 changes: 6 additions & 6 deletions compiler/ppx/ppx_optcomp_light.ml
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ let keep loc (attrs : attributes) =
let get_op = function
| { pexp_desc = Pexp_ident { txt = Lident str; _ }; _ } -> (
match str with
| "<=" -> ( <=)
| ">=" -> ( >=)
| ">" -> ( >)
| "<" -> ( <)
| "<>" -> ( <>)
| "=" -> ( =)
| "<=" -> ( <= )
| ">=" -> ( >= )
| ">" -> ( > )
| "<" -> ( < )
| "<>" -> ( <> )
| "=" -> ( = )
| _ -> raise Invalid)
| _ -> raise Invalid
in
Expand Down

0 comments on commit 28b4c20

Please sign in to comment.