File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- version = 0.24.1
1
+ version = 0.26.2
2
2
profile=conventional
3
3
margin=80
4
4
if-then-else=k-r
@@ -12,3 +12,4 @@ field-space=tight-decl
12
12
leading-nested-match-parens=true
13
13
module-item-spacing=compact
14
14
quiet=true
15
+ ocaml-version=4.08
Original file line number Diff line number Diff line change @@ -136,13 +136,17 @@ let gen_rft_variant sc rf_label { Ot.v_constructors; _ } =
136
136
F. sub_scope sc (fun sc ->
137
137
match vc_field_type with
138
138
| Ot. Vct_nullary ->
139
- F. linep sc " | %s -> (\" %s\" , `Null) :: assoc" vc_constructor json_label
139
+ F. linep sc " | %s -> (\" %s\" , `Null) :: assoc" vc_constructor
140
+ json_label
140
141
| Ot. Vct_non_nullary_constructor field_type ->
141
142
(match
142
143
gen_field var_name json_label field_type vc_payload_kind
143
144
with
144
- | None -> F. linep sc " | %s -> (\" %s\" , `Null) :: assoc" vc_constructor json_label
145
- | Some exp -> F. linep sc " | %s v -> %s :: assoc" vc_constructor exp)))
145
+ | None ->
146
+ F. linep sc " | %s -> (\" %s\" , `Null) :: assoc" vc_constructor
147
+ json_label
148
+ | Some exp ->
149
+ F. linep sc " | %s v -> %s :: assoc" vc_constructor exp)))
146
150
v_constructors);
147
151
148
152
F. linep sc " in (* match v.%s *)" rf_label
You can’t perform that action at this time.
0 commit comments