[project @ 2002-04-26 16:32:03 by simonpj]
authorsimonpj <unknown>
Fri, 26 Apr 2002 16:32:04 +0000 (16:32 +0000)
committersimonpj <unknown>
Fri, 26 Apr 2002 16:32:04 +0000 (16:32 +0000)
commitfb9ab9b1bb0009df78b074a06c6daa0168a674dd
tree21b7b78e4906b666993d5b0e41042e3a2686054f
parent787d1071615b42b191ace5b1eeced66891841fe5
[project @ 2002-04-26 16:32:03 by simonpj]
Fix the bug that Sven found when bootstrapping:

     stgSyn/CoreToStg.lhs:1112:
         Couldn't match `#' against `*'
         When matching types `GHC.Prim.Int#' and `a'
      Expected type: GHC.Prim.Int#
             Inferred type: a
     In the application `error ("cafRefs " ++ (showSDoc (ppr id)))'

I forgot to keep eRROR_ID in the list of wiredInIds in MkId.
Fixed and commented (but not yet tested).

Simon
ghc/compiler/basicTypes/MkId.lhs
ghc/compiler/stgSyn/CoreToStg.lhs