diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-07 14:11:32 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-07 14:11:32 -0400 |
commit | 1169e58b645a34751d97d9b54e977edd9359587d (patch) | |
tree | 053aee5bbd985b79f0d1901bc4fb72a44d48c4aa /src/elab_env.sml | |
parent | b872b8f181d7f5d1917dc0e4802f8741c976215d (diff) |
Track uniqueness sets in table types
Diffstat (limited to 'src/elab_env.sml')
-rw-r--r-- | src/elab_env.sml | 8 |
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 |