Skip to content

Commit ac892d1

Browse files
authored
fix(compiler): Correct type printing of type A<a> = a (#2302)
1 parent 2e0a66a commit ac892d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/typed/oprint.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ and print_out_sig_item = ppf =>
676676
| Otyp_manifest(_, original_type) => resolve_kwd(original_type)
677677
| Otyp_object(_, _) => failwith("NYI: Otyp_object pretty-printer")
678678
| Otyp_stuff(_) => failwith("NYI: Otyp_stuff pretty-printer")
679-
| Otyp_var(_, _) => failwith("NYI: Otyp_var pretty-printer")
679+
| Otyp_var(ng, s) => "type"
680680
| Otyp_poly(_, _) => failwith("NYI: Otyp_poly pretty-printer")
681681
| Otyp_module(_, _, _) => failwith("NYI: Otyp_module pretty-printer")
682682
| Otyp_attribute(_, _) =>

0 commit comments

Comments
 (0)