Tell GHC which module nON_EXHAUSTIVE_GUARDS_ERROR_ID comes from
authorsimonpj@microsoft.com <unknown>
Tue, 9 Sep 2008 16:21:07 +0000 (16:21 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 9 Sep 2008 16:21:07 +0000 (16:21 +0000)
This one was missed when the error-ids all moved to Control.Exception.Base
(The nofib test 'fluid' showed it up.)

compiler/basicTypes/MkId.lhs

index 1cb9109..7499b78 100644 (file)
@@ -1162,7 +1162,7 @@ patErrorName             = mkWiredInIdName cONTROL_EXCEPTION_BASE (fsLit "patErr
 noMethodBindingErrorName = mkWiredInIdName cONTROL_EXCEPTION_BASE (fsLit "noMethodBindingError")
                                            noMethodBindingErrorIdKey nO_METHOD_BINDING_ERROR_ID
 nonExhaustiveGuardsErrorName 
-  = mkWiredInIdName gHC_ERR (fsLit "nonExhaustiveGuardsError") 
+  = mkWiredInIdName cONTROL_EXCEPTION_BASE (fsLit "nonExhaustiveGuardsError") 
                     nonExhaustiveGuardsErrorIdKey nON_EXHAUSTIVE_GUARDS_ERROR_ID
 \end{code}