diff src/shake.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/shake.sml	Tue Apr 07 12:24:31 2009 -0400
+++ b/src/shake.sml	Tue Apr 07 14:11:32 2009 -0400
@@ -59,7 +59,7 @@
         val (usedE, usedC, table_cs) =
             List.foldl
                 (fn ((DExport (_, n), _), (usedE, usedC, table_cs)) => (IS.add (usedE, n), usedE, table_cs)
-                  | ((DTable (_, _, c, _, e), _), (usedE, usedC, table_cs)) =>
+                  | ((DTable (_, _, c, _, e, _), _), (usedE, usedC, table_cs)) =>
                     let
                         val (usedE, usedC) = usedVars (usedE, usedC) e
                     in
@@ -79,7 +79,7 @@
                                                           IM.insert (edef, n, (all_ns, t, e))) edef vis)
                                      end
                                    | ((DExport _, _), acc) => acc
-                                   | ((DTable (_, n, c, _, _), _), (cdef, edef)) =>
+                                   | ((DTable (_, n, c, _, _, _), _), (cdef, edef)) =>
                                      (cdef, IM.insert (edef, n, ([], c, dummye)))
                                    | ((DSequence (_, n, _), _), (cdef, edef)) =>
                                      (cdef, IM.insert (edef, n, ([], dummyt, dummye)))