File tree 5 files changed +8
-9
lines changed 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 33
33
with :
34
34
ocaml-version : ${{ matrix.ocaml-version }}
35
35
36
- - run : opam install ocamlformat.0.18.0
36
+ - run : opam install ocamlformat.0.22.4
37
37
- run : opam exec -- make fmt-check
38
38
- run : opam pin add coq ${{ matrix.coq-version }}
39
39
- run : opam pin add coq-of-ocaml.dev . --no-action
Original file line number Diff line number Diff line change 1
- version=0.20.1
1
+ version=0.22.4
Original file line number Diff line number Diff line change @@ -176,9 +176,8 @@ let of_ocaml_case (typ_name : Name.t) (attributes : Attribute.t list)
176
176
let typs = List. map (fun t -> fst t) typs in
177
177
return (typs, new_typ_vars)
178
178
| _ ->
179
- raise
180
- ([ ty ], new_typ_vars)
181
- Error.Category. Unexpected " Unexpected Type of Constructor" )
179
+ raise ([ ty ], new_typ_vars) Error.Category. Unexpected
180
+ " Unexpected Type of Constructor" )
182
181
| None ->
183
182
let kind = if is_tagged then Kind. Tag else Kind. Set in
184
183
let typ_args = AdtParameters. get_parameters defined_typ_params in
Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ let rec to_coq_s (need_parens : bool) (xs : parsed_string list) : SmartPrint.t =
78
78
| PChar c :: xs ->
79
79
let res = npchar c ^^ nest @@ to_coq_s true xs in
80
80
if need_parens then parens res else res
81
- | PDQuote :: xs -> to_coq_s need_parens @@ PString " \"\" " :: xs
81
+ | PDQuote :: xs -> to_coq_s need_parens @@ ( PString " \"\" " :: xs)
82
82
| PString s :: PDQuote :: xs ->
83
- to_coq_s need_parens @@ PString (s ^ " \"\" " ) :: xs
83
+ to_coq_s need_parens @@ ( PString (s ^ " \"\" " ) :: xs)
84
84
| PString s1 :: PString s2 :: xs ->
85
- to_coq_s need_parens @@ PString (s1 ^ s2) :: xs
85
+ to_coq_s need_parens @@ ( PString (s1 ^ s2) :: xs)
86
86
| [ PString s ] -> double_quotes ! ^ s
87
87
| PString s :: xs -> double_quotes ! ^ s ^^ ! ^ " ++" ^^ nest @@ to_coq_s false xs
88
88
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ let wrap_documentation (items : t list Monad.t) : t list Monad.t =
210
210
match documentation with
211
211
| None -> items
212
212
| Some documentation ->
213
- let * items in
213
+ let * items = items in
214
214
return [ Documentation (documentation, items) ]
215
215
216
216
let top_level_evaluation (e : expression ) : t list Monad.t =
You can’t perform that action at this time.
0 commit comments