summaryrefslogtreecommitdiff
path: root/src/elab_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/elab_print.sml')
-rw-r--r--src/elab_print.sml11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/elab_print.sml b/src/elab_print.sml
index 86448659..42a0a107 100644
--- a/src/elab_print.sml
+++ b/src/elab_print.sml
@@ -252,12 +252,19 @@ fun p_pat' par env (p, _) =
p_pat' true env p])
| PRecord xps =>
box [string "{",
- p_list_sep (box [string ",", space]) (fn (x, p, _) =>
+ p_list_sep (box [string ",", space]) (fn (x, p, t) =>
box [string x,
space,
string "=",
space,
- p_pat env p]) xps,
+ p_pat env p,
+ if !debug then
+ box [space,
+ string ":",
+ space,
+ p_con env t]
+ else
+ box []]) xps,
string "}"]
and p_pat x = p_pat' false x