diff options
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index 0d5211cf..bb4e20b2 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -264,7 +264,10 @@ fun mapfoldB {typ = fc, exp = fe, decl = fd, bind} = S.map2 (mfe ctx e, fn e' => (DVal (x, n, t', e', s), loc))) - | DExport _ => S.return2 dAll + | DExport (s, n, ts) => + S.map2 (ListUtil.mapfold mft ts, + fn ts' => + (DExport (s, n, ts'), loc)) in mfd end |