aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Convert.hs
diff options
context:
space:
mode:
authorPhil de Joux <philderbeast@gmail.com>2022-05-02 08:46:38 -0400
committerGitHub <noreply@github.com>2022-05-02 14:46:38 +0200
commite53854655a796579efcaaf1c4321f388910af3d0 (patch)
tree7ce4f2b39ce6b53327353825578574fe60041591 /haddock-api/src/Haddock/Convert.hs
parent0c5447f74bb53f754e7ac32c1a01d57e138a9fc5 (diff)
Add hlint action .hlint.yaml with ignores & CPP. (#1475)
Diffstat (limited to 'haddock-api/src/Haddock/Convert.hs')
-rw-r--r--haddock-api/src/Haddock/Convert.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Convert.hs b/haddock-api/src/Haddock/Convert.hs
index 69af8045..10180361 100644
--- a/haddock-api/src/Haddock/Convert.hs
+++ b/haddock-api/src/Haddock/Convert.hs
@@ -19,7 +19,9 @@ module Haddock.Convert (
PrintRuntimeReps(..),
) where
+#ifndef __HLINT__
#include "HsVersions.h"
+#endif
import GHC.Data.Bag ( emptyBag )
import GHC.Types.Basic ( TupleSort(..), PromotionFlag(..), DefMethSpec(..), TopLevelFlag(..) )