Last active
November 21, 2016 23:28
-
-
Save simonmichael/b4e7084ae24880d789ec7ea08846dc9c to your computer and use it in GitHub Desktop.
GHC 8 internal error building darcsden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ darcs get hub.darcs.net:simon/darcsden-ghc8 | |
$ cd darcsden-ghc8 | |
$ stack --stack-yaml=stack-ghc8.yaml build | |
gives: | |
While building <http://hub.darcs.net/simon/darcsden/browse/src/DarcsDen/Backend/Transient.hs> with GHC 8: | |
[12 of 56] Compiling DarcsDen.Backend.Transient ( src/DarcsDen/Backend/Transient.hs, .stack-work/dist/i386-linux/Cabal-1.24.0.0/build/DarcsDen/Backend/Transient.o ) | |
/home/simon/src/darcsden/src/DarcsDen/Backend/Transient.hs:10:33: error: | |
• GHC internal error: ‘BackendTransientM’ is not in scope during type checking, but it passed the renamer | |
tcl_env of environment: [ajE2 :-> Type variable ‘bt’ = bt] | |
• In the first argument of ‘MonadIO’, namely ‘BackendTransientM bt’ | |
In the type ‘(BT bt, MonadIO (BackendTransientM bt))’ | |
In the type declaration for ‘BTIO’ | |
/home/simon/src/darcsden/src/DarcsDen/Backend/Transient.hs:44:1: error: | |
• Non type-variable argument | |
in the constraint: Functor (BackendTransientM bt) | |
(Use FlexibleContexts to permit this) | |
• In the context: (Functor (BackendTransientM bt), | |
Monad (BackendTransientM bt)) | |
While checking the super-classes of class ‘BackendTransient’ | |
In the class declaration for ‘BackendTransient’ | |
-- While building package darcsden-1.1.99 using: | |
/home/simon/.stack/setup-exe-cache/i386-linux/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 --builddir=.stack-work/dist/i386-linux/Cabal-1.24.0.0 build lib:darcsden exe:darcsden exe:darcsden-post-hook exe:da$ | |
Process exited with code: ExitFailure 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment