[Git][ghc/ghc][master] Import qualified Prelude in Cmm/Parser.y
Marge Bot
gitlab at gitlab.haskell.org
Fri Aug 21 13:37:53 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
fddddbf4 by Vladislav Zavialov at 2020-08-21T09:37:49-04:00
Import qualified Prelude in Cmm/Parser.y
In preparation for the next version of 'happy', c95920 added a qualified
import to GHC/Parser.y but for some reason neglected GHC/Cmm/Parser.y
This patch adds the missing qualified import to GHC/Cmm/Parser.y and
also adds a clarifying comment to explain why this import is needed.
- - - - -
2 changed files:
- compiler/GHC/Cmm/Parser.y
- compiler/GHC/Parser.y
Changes:
=====================================
compiler/GHC/Cmm/Parser.y
=====================================
@@ -203,6 +203,7 @@ necessary to the stack to accommodate it (e.g. 2).
module GHC.Cmm.Parser ( parseCmmFile ) where
import GHC.Prelude
+import qualified Prelude -- for happy-generated code
import GHC.Platform
import GHC.Platform.Profile
=====================================
compiler/GHC/Parser.y
=====================================
@@ -46,7 +46,7 @@ import Data.Char
import Data.Maybe ( maybeToList )
import Control.Monad ( mplus )
import Control.Applicative ((<$))
-import qualified Prelude
+import qualified Prelude -- for happy-generated code
-- compiler
import GHC.Hs
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fddddbf47d6ba2b1b3b6ec89bd40c8fa020e6606
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fddddbf47d6ba2b1b3b6ec89bd40c8fa020e6606
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200821/bc28924c/attachment.html>
More information about the ghc-commits
mailing list