Skip to content

Commit

Permalink
Fix warning in newer ghc/th
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Apr 11, 2024
1 parent 1420486 commit 1a3d557
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Data/Aeson/GADT/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ import qualified Data.Set as Set
import Data.Some (Some(..))
import Language.Haskell.TH hiding (cxt)
import Language.Haskell.TH.Datatype (ConstructorInfo(..), applySubstitution, datatypeCons, reifyDatatype, unifyTypes)
import Language.Haskell.TH.Datatype.TyVarBndr (TyVarBndrVis, tvName)
import Language.Haskell.TH.Datatype.TyVarBndr (
#if !MIN_VERSION_template_haskell(2,21,0)
TyVarBndrVis,
#endif
tvName)

#if MIN_VERSION_dependent_sum(0,5,0)
#else
Expand Down

0 comments on commit 1a3d557

Please sign in to comment.