Skip to content

Commit

Permalink
Fix this "#if" condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 12, 2023
1 parent 83c3213 commit 4c269da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions haskell-src-meta/src/Language/Haskell/Meta/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ decCons (DataD _ _ _ _ cons _) = cons
decCons (NewtypeD _ _ _ _ con _) = [con]
decCons _ = []

-- TODO (int-index): Use MIN_VERSION_template_haskell(2,21,0)
#if __GLASGOW_HASKELL__ < 907
#if MIN_VERSION_template_haskell(2,21,0)
type TyVarBndrVis = TyVarBndrUnit
#endif

Expand Down

0 comments on commit 4c269da

Please sign in to comment.