
#9584: Interface file errors (Iface type variable out of scope: k) -------------------------------------+------------------------------------- Reporter: | Owner: jonsterling | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: #9263 None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by AlexanderThiemann): I get this error when trying to run my test-suite: {{{ λ cabal test ./Spock.cabal has been changed. Re-configuring with most recently used options. If this fails, please run configure manually. Resolving dependencies... Configuring Spock-0.7.0.0... Building Spock-0.7.0.0... Preprocessing library Spock-0.7.0.0... [12 of 13] Compiling Web.Spock.Internal.TextRouting ( src/Web/Spock/Internal/TextRouting.hs, dist/build/Web/Spock/Internal/TextRouting.o ) [13 of 13] Compiling Web.Spock.Simple ( src/Web/Spock/Simple.hs, dist/build/Web/Spock/Simple.o ) In-place registering Spock-0.7.0.0... Preprocessing test suite 'spocktests' for Spock-0.7.0.0... [2 of 4] Compiling Web.Spock.SimpleSpec ( test/Web/Spock/SimpleSpec.hs, dist/build/spocktests/spocktests-tmp/Web/Spock/SimpleSpec.o ) /Users/athiemann/devel/Spock/dist/build/Web/Spock/Internal/TextRouting.hi Declaration for textRegistry1: Iface type variable out of scope: k Cannot continue after interface file error }}} I think I am stumbling over the issue on both GHC7.6 and GHC7.8. I'm not sure how I can create a smaller test case, so I'll just point you to the commit and the travis build: https://github.com/agrafix/Spock/tree/575fdb1332b719a23d84e1fbb67f097f22d64e... https://travis-ci.org/agrafix/Spock/builds/36477042 cabal clean "solves" the issue... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9584#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler