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}
100100type block = {tag : tag ; tag_name : string option ; block_type : block_type option }
101101type switch_names = {consts : tag array ; blocks : block array }
102102
103- let tag_type_to_type_string = function
103+ let tag_type_to_string = function
104104 | String _ -> " string"
105105 | Int _ -> " int"
106106 | 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
15501550 @{<info>%s@}, which is not compatible with the expected of \
15511551 @{<info>%s@}."
15521552 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)
15541554 (Path. name expected_typename)
15551555 | Mismatched_unboxed_payload _ -> ()
15561556 | Mismatched_as_payload {constructor_name; expected_typename; as_payload} ->
@@ -1565,7 +1565,7 @@ let print_variant_runtime_representation_issue ppf variant_name
15651565 fprintf ppf
15661566 " an @{<info>@as@} payload that gives it the runtime type of \
15671567 @{<info>%s@}."
1568- (Ast_untagged_variants. tag_type_to_type_string payload));
1568+ (Ast_untagged_variants. tag_type_to_string payload));
15691569 fprintf ppf
15701570 " @ That runtime representation is not compatible with the expected \
15711571 runtime representation of @{<info>%s@}."
You can’t perform that action at this time.
0 commit comments