diff src/cjrize.sml @ 609:56aaa1941dad

First gimpy RPC
author Adam Chlipala <adamc@hcoop.net>
date Sun, 15 Feb 2009 10:32:50 -0500
parents 330a7de47914
children 63b0bcacd535
line wrap: on
line diff
--- a/src/cjrize.sml	Sun Feb 15 09:27:36 2009 -0500
+++ b/src/cjrize.sml	Sun Feb 15 10:32:50 2009 -0500
@@ -514,11 +514,12 @@
             (SOME (L'.DFunRec vis, loc), NONE, sm)
         end        
 
-      | L.DExport (ek, s, n, ts) =>
+      | L.DExport (ek, s, n, ts, t) =>
         let
             val (ts, sm) = ListUtil.foldlMap cifyTyp sm ts
+            val (t, sm) = cifyTyp (t, sm)
         in
-            (NONE, SOME (ek, "/" ^ s, n, ts), sm)
+            (NONE, SOME (ek, "/" ^ s, n, ts, t), sm)
         end
 
       | L.DTable (s, xts) =>