[project @ 2003-02-19 15:54:05 by simonpj]
authorsimonpj <unknown>
Wed, 19 Feb 2003 15:54:12 +0000 (15:54 +0000)
committersimonpj <unknown>
Wed, 19 Feb 2003 15:54:12 +0000 (15:54 +0000)
commit3355c9d53b220ccb110e5a3c81a1a8b2c9c41555
tree557fdbff81affa038cdbb176119b531433a15be3
parentf761d6d07c3948fe7356170b5516687e1d6c4f33
[project @ 2003-02-19 15:54:05 by simonpj]
-------------------------------------
  Two minor wibbles
-------------------------------------

1.  Make the generic toT/fromT Ids for "generic derived classes" into
    proper ImplicitIds, with their own GlobalIdDetails. This makes it
    easier to identify them.  (The lack of this showed up as a bug
    when I made an apparently-innocuous other change.)

2.  Distinguish ClassOpIds from RecordSelIds in their GlobalIdDetails.
    They are treated differently here and there, so I made this change
    as part of (1)

3.  Ensure that a declaration quotation [d| ... |] does not have a
    permanent effect on the instance environment. (A TH fix.)
13 files changed:
ghc/compiler/basicTypes/Id.lhs
ghc/compiler/basicTypes/IdInfo.lhs
ghc/compiler/basicTypes/MkId.lhs
ghc/compiler/coreSyn/CoreUtils.lhs
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/rename/RnIfaces.lhs
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcExpr.lhs
ghc/compiler/typecheck/TcRnTypes.lhs
ghc/compiler/typecheck/TcSimplify.lhs
ghc/compiler/typecheck/TcSplice.lhs
ghc/compiler/types/Generics.lhs