From 1e118a44ca9880b5e96f85a6f8c12d756f08fa8b Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Thu, 6 Aug 2020 18:50:10 +0100 Subject: [PATCH] Fix build on GHC 8.8 and below --- src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs b/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs index 8ec8d74..e512b9a 100644 --- a/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs +++ b/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs @@ -41,6 +41,7 @@ import qualified FastString import GHC.Hs import GHC.Hs.Extension (NoExtField (..)) #elif MIN_VERSION_ghc(8,6,0) +import HsSyn import HsExtension (NoExt (..)) #endif import Name