summaryrefslogtreecommitdiff
path: root/src/expl_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
commitfd1a963a81327f7b6a20a0f2ac131d2525649400 (patch)
tree053aee5bbd985b79f0d1901bc4fb72a44d48c4aa /src/expl_env.sml
parente52d6c0bc6e2e911515d21c6acc1e311a8e30db9 (diff)
Track uniqueness sets in table types
Diffstat (limited to 'src/expl_env.sml')
-rw-r--r--src/expl_env.sml8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/expl_env.sml b/src/expl_env.sml
index f4e16cb5..31b1c0a3 100644
--- a/src/expl_env.sml
+++ b/src/expl_env.sml
@@ -298,11 +298,13 @@ fun declBinds env (d, loc) =
| DStr (x, n, sgn, _) => pushStrNamed env x n sgn
| DFfiStr (x, n, sgn) => pushStrNamed env x n sgn
| 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
- pushENamed env x n t
+ pushENamed env x n ct
end
| DSequence (tn, x, n) =>
let