[project @ 2003-06-12 16:50:19 by simonpj]
authorsimonpj <unknown>
Thu, 12 Jun 2003 16:50:19 +0000 (16:50 +0000)
committersimonpj <unknown>
Thu, 12 Jun 2003 16:50:19 +0000 (16:50 +0000)
commit0116f0598ac43a9a6f2cb2d5f42b284955695e9b
treecb25e22043bfcc572dbe144d2737138a0e6a26bb
parent187dc566092345305b7255166d49d2b5e609b249
[project @ 2003-06-12 16:50:19 by simonpj]
----------------------------------
Fix the no-GHC.Err problem in GHCi
----------------------------------

Merge this to the stable branch.

Pattern-match failure error-ids are wired-in, which means the
GHC.Err interface isn't loaded, which in turn confused the linker
when tried to find what package GHC.Err is from.

Now we exclude wired-in names from the free variables looked at
by the linker (in Linker.linkExpr), and make sure the base package
is loaded unconditionally (DriverState.initPackageList).
ghc/compiler/ghci/Linker.lhs
ghc/compiler/main/DriverState.hs