diff src/mono_env.sml @ 126:76a4d69719d8

Tagging (non-mutual) 'val rec'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 10:38:03 -0400
parents 813e5a52063d
children 6847741e1f5f
line wrap: on
line diff
--- a/src/mono_env.sml	Thu Jul 17 10:23:04 2008 -0400
+++ b/src/mono_env.sml	Thu Jul 17 10:38:03 2008 -0400
@@ -84,6 +84,7 @@
 fun declBinds env (d, _) =
     case d of
         DVal (x, n, t, e, s) => pushENamed env x n t (SOME e) s
+      | DValRec vis => foldl (fn ((x, n, t, e, s), env) => pushENamed env x n t NONE s) env vis
       | DExport _ => env
 
 end