diff src/expl_env.sml @ 705:e6706a1df013

Track uniqueness sets in table types
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 14:11:32 -0400
parents 70cbdcf5989b
children d8217b4cb617
line wrap: on
line diff
--- a/src/expl_env.sml	Tue Apr 07 12:24:31 2009 -0400
+++ b/src/expl_env.sml	Tue Apr 07 14:11:32 2009 -0400
@@ -298,11 +298,13 @@
       | 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