summaryrefslogtreecommitdiff
path: root/src/elab_err.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-10-15 14:27:38 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-10-15 14:27:38 -0400
commit64783736b3c002c095640c0bf16b48994a44869c (patch)
tree57e7694ac353640b75428a5601da1a33ed7b3cca /src/elab_err.sig
parent96548bd3b3b7305d2e7ae2a1b17da9080467e410 (diff)
Better subSgn error locations
Diffstat (limited to 'src/elab_err.sig')
-rw-r--r--src/elab_err.sig11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/elab_err.sig b/src/elab_err.sig
index 10cda7d3..18596d04 100644
--- a/src/elab_err.sig
+++ b/src/elab_err.sig
@@ -88,11 +88,12 @@ signature ELAB_ERR = sig
datatype sgn_error =
UnboundSgn of ErrorMsg.span * string
- | UnmatchedSgi of Elab.sgn_item
- | SgiWrongKind of Elab.sgn_item * Elab.kind * Elab.sgn_item * Elab.kind * kunify_error
- | SgiWrongCon of Elab.sgn_item * Elab.con * Elab.sgn_item * Elab.con * cunify_error
- | SgiMismatchedDatatypes of Elab.sgn_item * Elab.sgn_item * (Elab.con * Elab.con * cunify_error) option
- | SgnWrongForm of Elab.sgn * Elab.sgn
+ | UnmatchedSgi of ErrorMsg.span * Elab.sgn_item
+ | SgiWrongKind of ErrorMsg.span * Elab.sgn_item * Elab.kind * Elab.sgn_item * Elab.kind * kunify_error
+ | SgiWrongCon of ErrorMsg.span * Elab.sgn_item * Elab.con * Elab.sgn_item * Elab.con * cunify_error
+ | SgiMismatchedDatatypes of ErrorMsg.span * Elab.sgn_item * Elab.sgn_item
+ * (Elab.con * Elab.con * cunify_error) option
+ | SgnWrongForm of ErrorMsg.span * Elab.sgn * Elab.sgn
| UnWhereable of Elab.sgn * string
| WhereWrongKind of Elab.kind * Elab.kind * kunify_error
| NotIncludable of Elab.sgn