summaryrefslogtreecommitdiff
path: root/src/core_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_print.sml')
-rw-r--r--src/core_print.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_print.sml b/src/core_print.sml
index c4341e51..af43e401 100644
--- a/src/core_print.sml
+++ b/src/core_print.sml
@@ -482,7 +482,8 @@ fun p_decl env (dAll as (d, _) : decl) =
space,
string "as",
space,
- p_con env (#2 (E.lookupENamed env n))]
+ (p_con env (#2 (E.lookupENamed env n))
+ handle E.UnboundNamed _ => string "UNBOUND")]
| DTable (x, n, c, s) => box [string "table",
space,
p_named x n,