aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mono_util.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index ca5cf5cb..485e64f6 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -465,10 +465,12 @@ fun mapfoldB {typ = fc, exp = fe, decl = fd, bind} =
S.map2 (mft t,
fn t' =>
(DExport (ek, s, n, ts', t'), loc)))
- | DTable (s, xts, e) =>
- S.map2 (mfe ctx e,
- fn e' =>
- (DTable (s, xts, e'), loc))
+ | DTable (s, xts, pe, ce) =>
+ S.bind2 (mfe ctx pe,
+ fn pe' =>
+ S.map2 (mfe ctx ce,
+ fn ce' =>
+ (DTable (s, xts, pe', ce'), loc)))
| DSequence _ => S.return2 dAll
| DDatabase _ => S.return2 dAll
| DJavaScript _ => S.return2 dAll