[project @ 2001-12-11 21:19:35 by panne]
authorpanne <unknown>
Tue, 11 Dec 2001 21:19:35 +0000 (21:19 +0000)
committerpanne <unknown>
Tue, 11 Dec 2001 21:19:35 +0000 (21:19 +0000)
Strange: Removing getName (which should be accessible via NamedThing(..),
anyway) from the import list is necessary to make this module compile.
Otherwise we get:

   hsSyn/HsCore.lhs:197: Variable not in scope: `getOccName'

Perhaps somebody could enlighten me what's going on here... %-]

ghc/compiler/hsSyn/HsCore.lhs

index 7843943..4c0ed19 100644 (file)
@@ -34,7 +34,7 @@ import HsTypes                ( HsType, pprParendHsType, pprHsTyVarBndr, toHsType,
 import Id              ( idArity, idType, isDataConId_maybe, isFCallId_maybe )
 import Var             ( varType, isId )
 import IdInfo          ( InlinePragInfo )
-import Name            ( Name, NamedThing(..), getName, toRdrName )
+import Name            ( Name, NamedThing(..), toRdrName )
 import RdrName         ( RdrName, rdrNameOcc )
 import OccName         ( isTvOcc )
 import CoreSyn