aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cjrize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-29 13:32:07 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-29 13:32:07 -0400
commitac7c66e703f70f57c59697fd90504539c475244d (patch)
tree12b5c0647e5d142366e9cc7d91992aa5857a1755 /src/cjrize.sml
parent4b511aa7ed5b36cb0a9adb898f881d6db0a89996 (diff)
Datatypes through monoize
Diffstat (limited to 'src/cjrize.sml')
-rw-r--r--src/cjrize.sml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cjrize.sml b/src/cjrize.sml
index 6796b467..062e2a5a 100644
--- a/src/cjrize.sml
+++ b/src/cjrize.sml
@@ -160,7 +160,9 @@ fun cifyExp ((e, loc), sm) =
fun cifyDecl ((d, loc), sm) =
case d of
- L.DVal (x, n, t, e, _) =>
+ L.DDatatype _ => raise Fail "Cjrize DDatatype"
+
+ | L.DVal (x, n, t, e, _) =>
let
val (t, sm) = cifyTyp (t, sm)