[project @ 2000-09-25 13:09:02 by simonpj]
authorsimonpj <unknown>
Mon, 25 Sep 2000 13:09:02 +0000 (13:09 +0000)
committersimonpj <unknown>
Mon, 25 Sep 2000 13:09:02 +0000 (13:09 +0000)
Fix slightly bogus error message

ghc/compiler/deSugar/DsMonad.lhs

index 056068d..d32e750 100644 (file)
@@ -202,7 +202,7 @@ dsLookupGlobalValue :: Unique -> DsM Id
 dsLookupGlobalValue key us genv loc mod warns
   = (lookupWithDefaultUFM_Directly genv def key, warns)
   where
-    def = pprPanic "tcLookupGlobalValue:" (ppr key)
+    def = pprPanic "dsLookupGlobalValue:" (ppr key)
 \end{code}