Closed snoyberg closed 8 years ago
This may be a GHC bug, not certain. Steps I took:
cabal unpack compdata-0.9
cabal install --only-dependencies
cabal clean
cabal configure
cabal build
cabal configure --enable-tests
I got the output:
$ cabal build Building compdata-0.9... Preprocessing library compdata-0.9... [ 8 of 59] Compiling Data.Comp.Derive.Utils ( src/Data/Comp/Derive/Utils.hs, dist/build/Data/Comp/Derive/Utils.o ) [dist/build/autogen/cabal_macros.h changed] [39 of 59] Compiling Data.Comp.Algebra ( src/Data/Comp/Algebra.hs, dist/build/Data/Comp/Algebra.o ) [dist/build/autogen/cabal_macros.h changed] [40 of 59] Compiling Data.Comp.Annotation ( src/Data/Comp/Annotation.hs, dist/build/Data/Comp/Annotation.o ) [Data.Comp.Algebra changed] [41 of 59] Compiling Data.Comp.Sum ( src/Data/Comp/Sum.hs, dist/build/Data/Comp/Sum.o ) [Data.Comp.Algebra changed] [42 of 59] Compiling Data.Comp.Generic ( src/Data/Comp/Generic.hs, dist/build/Data/Comp/Generic.o ) [Data.Comp.Algebra changed] [45 of 59] Compiling Data.Comp.Thunk ( src/Data/Comp/Thunk.hs, dist/build/Data/Comp/Thunk.o ) [Data.Comp.Sum changed] The interface for ‘compdata-0.9:Data.Comp.Ops’ Declaration for fromInr1: Iface type variable out of scope: k Cannot continue after interface file error
I'm able to reproduce the error on my machine.
This seems to have been resolved.
This may be a GHC bug, not certain. Steps I took:
cabal unpack compdata-0.9
cabal install --only-dependencies
cabal clean
cabal configure
cabal build
cabal configure --enable-tests
cabal build
I got the output: