From e53854655a796579efcaaf1c4321f388910af3d0 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Mon, 2 May 2022 08:46:38 -0400 Subject: Add hlint action .hlint.yaml with ignores & CPP. (#1475) --- haddock-api/src/Haddock/Convert.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'haddock-api/src/Haddock/Convert.hs') 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(..) ) -- cgit v1.2.3