From e51c2994ea243f302ef88a0789fc298d4f3e540f Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Sun, 12 Nov 2023 22:27:51 +0100 Subject: [PATCH] Off-by-negation. --- haskell-src-meta/src/Language/Haskell/Meta/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs b/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs index 5ea44b1..7c29881 100644 --- a/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs +++ b/haskell-src-meta/src/Language/Haskell/Meta/Utils.hs @@ -40,7 +40,7 @@ decCons (DataD _ _ _ _ cons _) = cons decCons (NewtypeD _ _ _ _ con _) = [con] decCons _ = [] -#if MIN_VERSION_template_haskell(2,21,0) +#if !MIN_VERSION_template_haskell(2,21,0) type TyVarBndrVis = TyVarBndrUnit #endif