From: panne Date: Tue, 11 Dec 2001 21:19:35 +0000 (+0000) Subject: [project @ 2001-12-11 21:19:35 by panne] X-Git-Tag: Approximately_9120_patches~410 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f36002488037edc4207dc54b3e056122b29db85a;p=ghc-hetmet.git [project @ 2001-12-11 21:19:35 by panne] 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... %-] --- diff --git a/ghc/compiler/hsSyn/HsCore.lhs b/ghc/compiler/hsSyn/HsCore.lhs index 7843943..4c0ed19 100644 --- a/ghc/compiler/hsSyn/HsCore.lhs +++ b/ghc/compiler/hsSyn/HsCore.lhs @@ -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