Fix build on GHC 8.8 and below

pull/326/head
Luke Lau 2020-08-06 18:50:10 +01:00 committed by Taylor Fausak
parent adb642353d
commit 1e118a44ca
1 changed files with 1 additions and 0 deletions

View File

@ -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