File tree 2 files changed +12
-8
lines changed
2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -189,12 +189,14 @@ and class_structure = pattern * class_field list
189
189
and class_field =
190
190
Pcf_inher of override_flag * class_expr * string option
191
191
| Pcf_valvirt of (string * mutable_flag * core_type * Location. t)
192
- | Pcf_val of (string * mutable_flag * override_flag * expression * Location. t)
193
- | Pcf_virt of (string * private_flag * core_type * Location. t)
194
- | Pcf_meth of (string * private_flag * override_flag * expression * Location. t)
195
- | Pcf_cstr of (core_type * core_type * Location. t)
196
- | Pcf_let of rec_flag * (pattern * expression) list * Location. t
197
- | Pcf_init of expression
192
+ | Pcf_val of
193
+ (string * mutable_flag * override_flag * expression * Location. t)
194
+ | Pcf_virt of (string * private_flag * core_type * Location. t)
195
+ | Pcf_meth of
196
+ (string * private_flag * override_flag * expression * Location. t)
197
+ | Pcf_cstr of (core_type * core_type * Location. t)
198
+ | Pcf_let of rec_flag * (pattern * expression) list * Location. t
199
+ | Pcf_init of expression
198
200
199
201
and class_declaration = class_expr class_infos
200
202
@@ -239,7 +241,7 @@ and with_constraint =
239
241
| Pwith_typesubst of type_declaration
240
242
| Pwith_modsubst of Longident. t
241
243
242
- (* value expressions for the module language *)
244
+ (* Value expressions for the module language *)
243
245
244
246
and module_expr =
245
247
{ pmod_desc : module_expr_desc ;
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ let report_error ppf = function
37
37
Location. print_error opening_loc opening
38
38
end
39
39
| Applicative_path loc ->
40
- fprintf ppf " %aSyntax error: applicative paths of the form F(X).t are not supported when the option -no-app-func is set."
40
+ fprintf ppf
41
+ " %aSyntax error: applicative paths of the form F(X).t \
42
+ are not supported when the option -no-app-func is set."
41
43
Location. print_error loc
42
44
| Other loc ->
43
45
fprintf ppf " %aSyntax error" Location. print_error loc
You can’t perform that action at this time.
0 commit comments