Fix tests for different GHC versions
This commit is contained in:
parent
262453b0d1
commit
be0878cdd8
2 changed files with 19 additions and 9 deletions
|
@ -1,3 +1,4 @@
|
|||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE DataKinds #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
|
@ -7,7 +8,12 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
#if __GLASGOW_HASKELL__ >= 800
|
||||
{-# OPTIONS_GHC -freduction-depth=100 #-}
|
||||
#else
|
||||
{-# OPTIONS_GHC -fcontext-stack=100 #-}
|
||||
#endif
|
||||
|
||||
module Servant.DocsSpec where
|
||||
|
||||
import Control.Lens
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
#if __GLASGOW_HASKELL__ >= 800
|
||||
{-# OPTIONS_GHC -freduction-depth=100 #-}
|
||||
#else
|
||||
{-# OPTIONS_GHC -fcontext-stack=100 #-}
|
||||
#endif
|
||||
|
||||
module Servant.ServerSpec where
|
||||
|
||||
|
|
Loading…
Reference in a new issue