fix build warning with old aeson
This commit is contained in:
parent
dab9078ab7
commit
5b6518d4a3
1 changed files with 4 additions and 0 deletions
|
@ -18,7 +18,11 @@ module Utility.Aeson (
|
|||
textKey,
|
||||
) where
|
||||
|
||||
#if MIN_VERSION_aeson(2,0,0)
|
||||
import Data.Aeson as X hiding (ToJSON, toJSON, encode, Key)
|
||||
#else
|
||||
import Data.Aeson as X hiding (ToJSON, toJSON, encode)
|
||||
#endif
|
||||
import Data.Aeson hiding (encode)
|
||||
import qualified Data.Aeson
|
||||
#if MIN_VERSION_aeson(2,0,0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue