From 4c269daea45ba534e4175047a92b1e47f21045f7 Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Sun, 12 Nov 2023 22:23:20 +0100 Subject: [PATCH] Fix this "#if" condition. --- haskell-src-meta/src/Language/Haskell/Meta/Utils.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs b/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs index 26b31c6..5ea44b1 100644 --- a/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs +++ b/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs @@ -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