Try to compile with GHC 8.0.1

This commit is contained in:
Oleg Grenrus 2016-02-09 19:52:25 +02:00
parent 4e7e04140d
commit e5583aa23d
2 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,6 @@ matrix:
- env: CABALVER=1.24 GHCVER=8.0.1 - env: CABALVER=1.24 GHCVER=8.0.1
compiler: ": #GHC 8.0.1" compiler: ": #GHC 8.0.1"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1], sources: [hvr-ghc]}} addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1], sources: [hvr-ghc]}}
allow_failures:
- env: CABALVER=1.24 GHCVER=8.0.1
before_install: before_install:
- unset CC - unset CC

View File

@ -740,6 +740,7 @@ cachedComputation req haxl = GenHaxl $ \env ref -> do
-- continuation: just try to evaluate the memo again. We know it is -- continuation: just try to evaluate the memo again. We know it is
-- already in the cache (because we just checked), so the computation -- already in the cache (because we just checked), so the computation
-- will never be used. -- will never be used.
retryMemo :: (Typeable (req a)) => req a -> GenHaxl u a
retryMemo req = retryMemo req =
cachedComputation req (throw (CriticalError "retryMemo")) cachedComputation req (throw (CriticalError "retryMemo"))