summaryrefslogtreecommitdiff
path: root/src/elab_ops.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-11-05 13:12:07 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-11-05 13:12:07 -0400
commit22d36c8605e1d006a379350e28a5f939f7082546 (patch)
tree49701847d92455f45e46ae73c9e15d3d3fff9e64 /src/elab_ops.sml
parent99adfa83d473370a0bc0d085279a5406404a7f5a (diff)
Tweaks to choices of source positions to use in error messages, including for subSgn
Diffstat (limited to 'src/elab_ops.sml')
-rw-r--r--src/elab_ops.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elab_ops.sml b/src/elab_ops.sml
index 15d8e106..0af2f4e7 100644
--- a/src/elab_ops.sml
+++ b/src/elab_ops.sml
@@ -156,7 +156,7 @@ fun reset () = (identity := 0;
fun hnormCon env (cAll as (c, loc)) =
case c of
- CUnif (nl, _, _, _, ref (SOME c)) => hnormCon env (E.mliftConInCon nl c)
+ CUnif (nl, _, _, _, ref (SOME c)) => (#1 (hnormCon env (E.mliftConInCon nl c)), loc)
| CNamed xn =>
(case E.lookupCNamed env xn of