GHC panic getRuntimeRep
Summary
When I try to install exploring-interpreters-3-1-0 it fails with an error described below, I check there are all dependencies running "cabal gen-bounds exploring-interpreters" from package source.
"C:\Program Files\Haskell Platform\8.4.3\bin\ghc.exe" "--make" "-fbuilding-cabal-package" "-O" "-outputdir" "dist\build" "-odir" "dist\build" "-hidir" "dist\build" "-stubdir" "dist\build" "-i" "-idist\build" "-i." "-idist\build\autogen" "-idist\build\global-autogen" "-Idist\build\autogen" "-Idist\build\global-autogen" "-Idist\build" "-IC:\Program Files\Haskell Platform\8.4.3\mingw\include" "-optP-include" "-optPdist\build\autogen\cabal_macros.h" "-this-unit-id" "exploring-interpreters-0.3.1.0-GwjmI26idmtD7klgnBnzYM" "-hide-all-packages" "-Wmissing-home-modules" "-package-db" "dist\package.conf.inplace" "-package-id" "base-4.11.1.0" "-package-id" "containers-0.5.11.0" "-package-id" "fgl-5.7.0.3-Jp98XGr6ocMJ0Hb9itD18w" "-package-id" "transformers-0.5.6.2-BNIyYCY2r9R4kXx2NOToc9" "-package-id" "mtl-2.2.2-4bHFdwbWq4S42p2oKiqNwU" "-XHaskell2010" "Language.Explorer.Monadic" "Language.Explorer.Pure" "Language.Explorer.Basic"
[1 of 3] Compiling Language.Explorer.Monadic ( Language\Explorer\Monadic.hs, dist\build\Language\Explorer\Monadic.o )
ghc.exe: panic! (the 'impossible' happened)
(GHC version 8.4.3 for x86_64-unknown-mingw32):
getRuntimeRep
m_a60d :: * -> *
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler\utils\Outputable.hs:1150:37 in ghc:Outputable
pprPanic, called at compiler\\types\\Type.hs:1967:18 in ghc:Type
Steps to reproduce
cabal update
cabal install exploring-interpreters
Expected behavior
install the following libraries:
- Language.Explorer.Monadic
- Language.Explorer.Pure
Environment
- GHC version used: 8.4.3
Optional:
- Operating System: Microsoft Windows 10 LTSC version 1809 build 17763.1
- System Architecture: x64