diff src/elaborate.sml @ 837:ccf22c2c77b2

Tweak -- precedence; use right env for final exhaustiveness errors
author Adam Chlipala <adamc@hcoop.net>
date Tue, 02 Jun 2009 15:43:18 -0400
parents 74e9e7642f08
children 5154a047c6bc
line wrap: on
line diff
--- a/src/elaborate.sml	Tue Jun 02 13:55:10 2009 -0400
+++ b/src/elaborate.sml	Tue Jun 02 15:43:18 2009 -0400
@@ -3975,7 +3975,7 @@
         if ErrorMsg.anyErrors () then
             ()
         else
-            app (fn all as (_, _, _, loc) =>
+            app (fn all as (env, _, _, loc) =>
                     case exhaustive all of
                         NONE => ()
                       | SOME p => expError env (Inexhaustive (loc, p)))