Skip to content

Commit

Permalink
Merge pull request #23 from clinty/th-2.22
Browse files Browse the repository at this point in the history
Compatibility with template-haskell 2.22
  • Loading branch information
kosmikus authored Aug 12, 2024
2 parents 244d3b7 + 0d69938 commit 4609013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ixset-typed.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ library
deepseq >= 1.3 && < 2,
safecopy >= 0.8 && < 0.11,
syb >= 0.4 && < 1,
template-haskell >= 2.8 && < 2.19
template-haskell >= 2.8 && < 2.23

hs-source-dirs: src
exposed-modules:
Expand Down
2 changes: 1 addition & 1 deletion src/Data/IxSet/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ inferIxSet ixset typeName calName entryPoints
_ -> error "IxSet.inferIxSet calInfo unexpected match"

#if MIN_VERSION_template_haskell(2,17,0)
tyVarBndrToName :: TyVarBndr () -> Name
tyVarBndrToName :: TyVarBndr flag -> Name
tyVarBndrToName (PlainTV nm _) = nm
tyVarBndrToName (KindedTV nm _ _) = nm
#else
Expand Down

0 comments on commit 4609013

Please sign in to comment.