File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ let emit_external_warnings : iterator =
157
157
match byte_name with
158
158
| "%identity" when not (Ast_core_type. is_arity_one pval_type) ->
159
159
Location. raise_errorf ~loc: pval_loc
160
- " %%identity expect its type to be of form 'a -> 'b (arity 1)"
160
+ " %%identity expects a function type of the form 'a => 'b \
161
+ (arity 1)"
161
162
| _ ->
162
163
if byte_name <> " " then
163
164
let c = String. unsafe_get byte_name 0 in
Original file line number Diff line number Diff line change @@ -263897,7 +263897,8 @@ let emit_external_warnings : iterator =
263897
263897
match byte_name with
263898
263898
| "%identity" when not (Ast_core_type.is_arity_one pval_type) ->
263899
263899
Location.raise_errorf ~loc:pval_loc
263900
- "%%identity expect its type to be of form 'a -> 'b (arity 1)"
263900
+ "%%identity expects a function type of the form 'a => 'b \
263901
+ (arity 1)"
263901
263902
| _ ->
263902
263903
if byte_name <> "" then
263903
263904
let c = String.unsafe_get byte_name 0 in
Original file line number Diff line number Diff line change @@ -265360,7 +265360,8 @@ let emit_external_warnings : iterator =
265360
265360
match byte_name with
265361
265361
| "%identity" when not (Ast_core_type.is_arity_one pval_type) ->
265362
265362
Location.raise_errorf ~loc:pval_loc
265363
- "%%identity expect its type to be of form 'a -> 'b (arity 1)"
265363
+ "%%identity expects a function type of the form 'a => 'b \
265364
+ (arity 1)"
265364
265365
| _ ->
265365
265366
if byte_name <> "" then
265366
265367
let c = String.unsafe_get byte_name 0 in
Original file line number Diff line number Diff line change @@ -180193,7 +180193,8 @@ let emit_external_warnings : iterator =
180193
180193
match byte_name with
180194
180194
| "%identity" when not (Ast_core_type.is_arity_one pval_type) ->
180195
180195
Location.raise_errorf ~loc:pval_loc
180196
- "%%identity expect its type to be of form 'a -> 'b (arity 1)"
180196
+ "%%identity expects a function type of the form 'a => 'b \
180197
+ (arity 1)"
180197
180198
| _ ->
180198
180199
if byte_name <> "" then
180199
180200
let c = String.unsafe_get byte_name 0 in
You can’t perform that action at this time.
0 commit comments