mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-23 16:53:02 +03:00
Try to compile with GHC 8.0.1
This commit is contained in:
parent
4e7e04140d
commit
e5583aa23d
@ -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
|
||||||
|
@ -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"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user