Hadrian/ghci broken on GHC.Utils.Encoding
With a bootstrap compiler of GHC 9.0.1, hadrian/ghci fails on master
with
[ 45 of 635] Compiling GHC.Data.FastString ( /Users/rae/ghc/ghc-now/compiler/GHC/Data/FastString.hs, nothing )
/Users/rae/ghc/ghc-now/compiler/GHC/Data/FastString.hs:118:1: error:
Ambiguous module name ‘GHC.Utils.Encoding’:
it was found in multiple packages: ghc-9.0.1 ghc-boot-9.3
|
118 | import GHC.Utils.Encoding
| ^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, 32 modules loaded.
If I add PackageImports
in a bunch of places (every import of GHC.Utils.Encoding
) I can get past this, but something tells me I shouldn't have this problem in the first place.
Help?