File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ type tag = {name: string; tag_type: tag_type option}
100
100
type block = {tag : tag ; tag_name : string option ; block_type : block_type option }
101
101
type switch_names = {consts : tag array ; blocks : block array }
102
102
103
- let tag_type_to_type_string = function
103
+ let tag_type_to_string = function
104
104
| String _ -> " string"
105
105
| Int _ -> " int"
106
106
| Float _ -> " float"
Original file line number Diff line number Diff line change @@ -1550,7 +1550,7 @@ let print_variant_runtime_representation_issue ppf variant_name
1550
1550
@{<info>%s@}, which is not compatible with the expected of \
1551
1551
@{<info>%s@}."
1552
1552
constructor_name (Path. name variant_name)
1553
- (Ast_untagged_variants. tag_type_to_type_string as_payload)
1553
+ (Ast_untagged_variants. tag_type_to_string as_payload)
1554
1554
(Path. name expected_typename)
1555
1555
| Mismatched_unboxed_payload _ -> ()
1556
1556
| Mismatched_as_payload {constructor_name; expected_typename; as_payload} ->
@@ -1565,7 +1565,7 @@ let print_variant_runtime_representation_issue ppf variant_name
1565
1565
fprintf ppf
1566
1566
" an @{<info>@as@} payload that gives it the runtime type of \
1567
1567
@{<info>%s@}."
1568
- (Ast_untagged_variants. tag_type_to_type_string payload));
1568
+ (Ast_untagged_variants. tag_type_to_string payload));
1569
1569
fprintf ppf
1570
1570
" @ That runtime representation is not compatible with the expected \
1571
1571
runtime representation of @{<info>%s@}."
You can’t perform that action at this time.
0 commit comments