Skip to content

Commit

Permalink
avoid overlap warnings on template-haskell < 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Jan 17, 2016
1 parent 519cd91 commit f3639a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Bound/TH.hs
Expand Up @@ -369,7 +369,9 @@ getPure name = do
(conName, [ t1, t2 ])
ForallC _ _ conName ->
allTypeArgs conName
#if MIN_VERSION_template_haskell(0,2,11)
_ -> error "Not implemented"
#endif

return (findReturn lastTyVar (allTypeArgs `fmap` cons))
#else
Expand Down

0 comments on commit f3639a8

Please sign in to comment.