summaryrefslogtreecommitdiff
path: root/src/elab_env.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 14:11:32 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 14:11:32 -0400
commit1169e58b645a34751d97d9b54e977edd9359587d (patch)
tree053aee5bbd985b79f0d1901bc4fb72a44d48c4aa /src/elab_env.sml
parentb872b8f181d7f5d1917dc0e4802f8741c976215d (diff)
Track uniqueness sets in table types
Diffstat (limited to 'src/elab_env.sml')
-rw-r--r--src/elab_env.sml8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/elab_env.sml b/src/elab_env.sml
index 7adc8dd9..8bb769c1 100644
--- a/src/elab_env.sml
+++ b/src/elab_env.sml
@@ -1532,11 +1532,13 @@ fun declBinds env (d, loc) =
| DFfiStr (x, n, sgn) => pushStrNamedAs env x n sgn
| DConstraint _ => env
| DExport _ => env
- | DTable (tn, x, n, c, _) =>
+ | DTable (tn, x, n, c, _, cc) =>
let
- val t = (CApp ((CModProj (tn, [], "sql_table"), loc), c), loc)
+ val ct = (CModProj (tn, [], "sql_table"), loc)
+ val ct = (CApp (ct, c), loc)
+ val ct = (CApp (ct, cc), loc)
in
- pushENamedAs env x n t
+ pushENamedAs env x n ct
end
| DSequence (tn, x, n) =>
let