diff --git a/.travis.yml b/.travis.yml index d62b1db2b..2bef546d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ env: - CABALVER=1.22 GHCVER=7.10.3 - CABALVER=1.24 GHCVER=8.0.1 - CABALVER=2.0 GHCVER=8.2.1 + - CABALVER=2.0 GHCVER=8.2.2 # Note: the distinction between `before_install` and `install` is not # important. diff --git a/src/Protolude/Error.hs b/src/Protolude/Error.hs index 83667c648..d8e3d1fe8 100644 --- a/src/Protolude/Error.hs +++ b/src/Protolude/Error.hs @@ -3,6 +3,9 @@ {-# LANGUAGE PolyKinds #-} {-# LANGUAGE ImplicitParams #-} {-# LANGUAGE ExistentialQuantification #-} +#if ( __GLASGOW_HASKELL__ >= 800 ) +{-# LANGUAGE TypeInType #-} +#endif #if MIN_VERSION_base(4,9,0) {-# OPTIONS_GHC -fno-warn-redundant-constraints #-}