summaryrefslogtreecommitdiff
path: root/src/monoize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:46:45 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:46:45 -0500
commit5e95ccda9544c96b519d2cf6b32967f4b1ef990a (patch)
tree199cf905309f9068ba5eb6d2e395a8f12f403343 /src/monoize.sml
parent6e41a0ca24381fa5545fe82004275e661dd8dd6e (diff)
Cookie prose; fix bugs that broke demo compilation
Diffstat (limited to 'src/monoize.sml')
-rw-r--r--src/monoize.sml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index b8c3a6a9..20677816 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -1565,13 +1565,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
| L.EFfiApp ("Basis", "nextval", [e]) =>
let
- val un = (L'.TRecord [], loc)
- val int = (L'.TFfi ("Basis", "int"), loc)
val (e, fm) = monoExp (env, st, fm) e
in
- ((L'.EAbs ("_", un, int,
- (L'.ENextval (liftExpInExp 0 e), loc)), loc),
- fm)
+ ((L'.ENextval e, loc), fm)
end
| L.EApp (