Skip to content

Commit 51d53f7

Browse files
authored
feat: Add exception opentype implementation to Oprint (#1896)
1 parent 45bc834 commit 51d53f7

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
@@ -666,7 +666,7 @@ and print_out_sig_item = ppf =>
666666
| Otyp_sum(_) => "enum"
667667
| Otyp_variant(_, _, _, _) =>
668668
failwith("NYI: Otyp_variant pretty-printer")
669-
| Otyp_open => failwith("NYI: Otyp_open pretty-printer")
669+
| Otyp_open => "exception"
670670
| Otyp_alias(_, _) => failwith("NYI: Otyp_alias pretty-printer")
671671
| Otyp_class(_, _, _) => failwith("NYI: Otyp_class pretty-printer")
672672
| Otyp_arrow(_, _)

0 commit comments

Comments
 (0)