diff src/mono_print.sml @ 1845:c1e3805e604e

Make Scriptcheck catch more script/message-passing uses, and move the phase earlier in compilation
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Mar 2013 16:09:55 -0400
parents d2b3fada532e
children e15234fbb163
line wrap: on
line diff
--- a/src/mono_print.sml	Tue Mar 12 16:21:20 2013 -0400
+++ b/src/mono_print.sml	Fri Mar 15 16:09:55 2013 -0400
@@ -530,7 +530,7 @@
                           p_policy env p]
       | DOnError _ => string "ONERROR"
                           
-fun p_file env file =
+fun p_file env (file, _) =
     let
         val (pds, _) = ListUtil.foldlMap (fn (d, env) =>
                                              (p_decl env d,