Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit ace1c2b

Browse files
committed
Fix printing of variant arguments.
1 parent d45f457 commit ace1c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rescript-editor-support/PrintType.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ let print_constructor = (loop, {Types.cd_id, cd_args, cd_res}) => {
199199
switch (cd_args) {
200200
| Cstr_tuple([]) => Pretty.empty
201201
| Cstr_record(_) => str("{...printing not supported...}")
202-
| Cstr_tuple(args) => typeConstr(args, loop)
202+
| Cstr_tuple(args) => tupleList(args, loop)
203203
}
204204
)
205205
@! (

0 commit comments

Comments
 (0)