summaryrefslogtreecommitdiff
path: root/lib/ur/top.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-06-03 09:55:37 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-06-03 09:55:37 -0400
commitbc30b26207d28491b27ccc40aea7f89fd01c3571 (patch)
tree29c51458649dd81ac7c8e7f98b2e98d4108d4204 /lib/ur/top.ur
parente409acfa13f877ddae461cc2d711807ae74cd168 (diff)
Adjust new [assert] to work properly from top.ur
Diffstat (limited to 'lib/ur/top.ur')
-rw-r--r--lib/ur/top.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/top.ur b/lib/ur/top.ur
index 06dcab5f..e831b4f7 100644
--- a/lib/ur/top.ur
+++ b/lib/ur/top.ur
@@ -412,4 +412,4 @@ fun min [t] ( _ : ord t) (x : t) (y : t) : t =
if x < y then x else y
fun assert [a] (cond: bool) (msg: string) (loc: string) (x:a): a =
- if cond then x else error <xml>{[msg]} at {[loc]}</xml>
+ if cond then x else error <xml>{txt msg} at {txt loc}</xml>