summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-05-06 22:22:02 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-12 21:41:44 -0400
commit0ef119071347f7bc14f0fa89904b0cfd0b230ac1 (patch)
tree7a80b3942ae6bd18391f9b924ad55bb001392288 /compiler/Language
parentbfabf94f63b6644bd32982fd13ea0c8bca9aeae4 (diff)
downloadhaskell-0ef119071347f7bc14f0fa89904b0cfd0b230ac1.tar.gz
Fully remove HsVersions.h
Replace uses of WARN macro with calls to: warnPprTrace :: Bool -> SDoc -> a -> a Remove the now unused HsVersions.h Bump haddock submodule
Diffstat (limited to 'compiler/Language')
-rw-r--r--compiler/Language/Haskell/Syntax/Expr.hs3
-rw-r--r--compiler/Language/Haskell/Syntax/Lit.hs2
-rw-r--r--compiler/Language/Haskell/Syntax/Type.hs2
3 files changed, 0 insertions, 7 deletions
diff --git a/compiler/Language/Haskell/Syntax/Expr.hs b/compiler/Language/Haskell/Syntax/Expr.hs
index bc60b30e38..722c8f2ccb 100644
--- a/compiler/Language/Haskell/Syntax/Expr.hs
+++ b/compiler/Language/Haskell/Syntax/Expr.hs
@@ -23,9 +23,6 @@
-- | Abstract Haskell syntax for expressions.
module Language.Haskell.Syntax.Expr where
-#include "HsVersions.h"
-
--- friends:
import GHC.Prelude
import Language.Haskell.Syntax.Decls
diff --git a/compiler/Language/Haskell/Syntax/Lit.hs b/compiler/Language/Haskell/Syntax/Lit.hs
index 1cdcfe8779..568f885011 100644
--- a/compiler/Language/Haskell/Syntax/Lit.hs
+++ b/compiler/Language/Haskell/Syntax/Lit.hs
@@ -18,8 +18,6 @@
-- | Source-language literals
module Language.Haskell.Syntax.Lit where
-#include "HsVersions.h"
-
import GHC.Prelude
import {-# SOURCE #-} Language.Haskell.Syntax.Expr ( HsExpr )
diff --git a/compiler/Language/Haskell/Syntax/Type.hs b/compiler/Language/Haskell/Syntax/Type.hs
index 66c4cb97c7..c9e19b421c 100644
--- a/compiler/Language/Haskell/Syntax/Type.hs
+++ b/compiler/Language/Haskell/Syntax/Type.hs
@@ -54,8 +54,6 @@ module Language.Haskell.Syntax.Type (
hsPatSigType,
) where
-#include "HsVersions.h"
-
import GHC.Prelude
import {-# SOURCE #-} Language.Haskell.Syntax.Expr ( HsSplice )