Protect OVERLAPS pragma with CPP.
This commit is contained in:
parent
ba3088f0b3
commit
e334d7dc38
1 changed files with 4 additions and 0 deletions
|
@ -866,7 +866,11 @@ instance (MonadTrans t, PandocMonad m, Functor (t m),
|
|||
putCommonState = lift . putCommonState
|
||||
logOutput = lift . logOutput
|
||||
|
||||
#if MIN_VERSION_base(4,8,0)
|
||||
instance {-# OVERLAPS #-} PandocMonad m => PandocMonad (ParsecT s st m) where
|
||||
#else
|
||||
instance PandocMonad m => PandocMonad (ParsecT s st m) where
|
||||
#endif
|
||||
lookupEnv = lift . lookupEnv
|
||||
getCurrentTime = lift getCurrentTime
|
||||
getCurrentTimeZone = lift getCurrentTimeZone
|
||||
|
|
Loading…
Add table
Reference in a new issue