Can't build master branch
The master
branch appears to be the most up-to-date place to try out the implementation of UnsaturatedTypeFamilies
, as far as I can tell. Unfortunately, I am unable to get it building locally. After cherry-picking commit ghc/ghc@fddddbf4 to work around ghc/ghc#18620, I eventually run into this error:
"inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -O0 -H64m -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -this-unit-id ghc-8.11.0.20200828 -hide-all-packages -i -icompiler/. -icompiler/stage2/build -Icompiler/stage2/build -icompiler/stage2/build/./autogen -Icompiler/stage2/build/./autogen -Icompiler/. -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/. -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2 -optP-DHAVE_INTERNAL_INTERPRETER -optP-DCAN_LOAD_DLL -optP-Iincludes/dist-install/build -optP-include -optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.15.0.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.10.0 -package-id containers-0.6.2.1 -package-id deepseq-1.4.4.0 -package-id directory-1.3.6.1 -package-id exceptions-0.10.4 -package-id filepath-1.4.2.1 -package-id ghc-boot-8.11.0.20200828 -package-id ghc-boot-th-8.11.0.20200828 -package-id ghc-heap-8.11.0.20200828 -package-id ghci-8.11.0.20200828 -package-id hpc-0.6.1.0 -package-id process-1.6.10.0 -package-id template-haskell-2.17.0.0 -package-id terminfo-0.4.1.4 -package-id time-1.9.3 -package-id transformers-0.5.6.2 -package-id unix-2.7.2.2 -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XScopedTypeVariables -optc-DTHREADED_RTS -Iincludes/dist-install/build -Rghc-timing -O0 -Wcpp-undef -Wincomplete-uni-patterns -Wincomplete-record-updates -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir compiler/stage2/build -dynamic-too -c compiler/./GHC/Hs/Expr.hs -o compiler/stage2/build/GHC/Hs/Expr.o -dyno compiler/stage2/build/GHC/Hs/Expr.dyn_o
compiler/GHC/Hs/Expr.hs:2759:1: error:
Identifier ‘pprSplice’ has conflicting definitions in the module
and its hs-boot file
Main module: pprSplice ::
forall (p :: Pass).
OutputableBndrId p =>
HsSplice (GhcPass p) -> SDoc
Boot file: pprSplice ::
forall (p :: Pass).
OutputableBndrId p =>
HsSplice (GhcPass p) -> SDoc
The two types are different
|
2759 | pprSplice (HsTypedSplice _ DollarSplice n e)
| ^^^^^^^^^
Any ideas what might be causing this?