summaryrefslogtreecommitdiff
path: root/src/shake.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/shake.sml')
-rw-r--r--src/shake.sml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shake.sml b/src/shake.sml
index 6395bfdc..38d72cc5 100644
--- a/src/shake.sml
+++ b/src/shake.sml
@@ -41,6 +41,7 @@ type free = {
exp : IS.set
}
+val dummyt = (TRecord (CRecord ((KType, ErrorMsg.dummySpan), []), ErrorMsg.dummySpan), ErrorMsg.dummySpan)
val dummye = (EPrim (Prim.String ""), ErrorMsg.dummySpan)
fun shake file =
@@ -60,6 +61,8 @@ fun shake file =
| ((DExport _, _), acc) => acc
| ((DTable (_, n, c, _), _), (cdef, edef)) =>
(cdef, IM.insert (edef, n, (c, dummye)))
+ | ((DSequence (_, n, _), _), (cdef, edef)) =>
+ (cdef, IM.insert (edef, n, (dummyt, dummye)))
| ((DDatabase _, _), acc) => acc)
(IM.empty, IM.empty) file
@@ -116,6 +119,7 @@ fun shake file =
| (DValRec vis, _) => List.exists (fn (_, n, _, _, _) => IS.member (#exp s, n)) vis
| (DExport _, _) => true
| (DTable _, _) => true
+ | (DSequence _, _) => true
| (DDatabase _, _) => true) file
end