[Git][ghc/ghc][wip/romes/ast-ohne-faststring] FIX
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Fri Oct 11 16:56:34 UTC 2024
Rodrigo Mesquita pushed to branch wip/romes/ast-ohne-faststring at Glasgow Haskell Compiler / GHC
Commits:
295606ed by Rodrigo Mesquita at 2024-10-11T17:56:23+01:00
FIX
- - - - -
4 changed files:
- compiler/GHC/Parser/Header.hs
- compiler/GHC/Parser/Lexer.x
- compiler/Language/Haskell/Syntax/Lit.hs
- utils/haddock/haddock-api/haddock-api.cabal
Changes:
=====================================
compiler/GHC/Parser/Header.hs
=====================================
@@ -140,14 +140,7 @@ mkPrelImports this_mod loc implicit_prelude import_decls
-- explicit prelude imports
&& case ideclPkgQual decl of
NoRawPkgQual -> True
-<<<<<<< HEAD
RawPkgQual {} -> False
-||||||| parent of d9408cc56ae (the biggest boy)
- RawPkgQual b -> sl_fs b == unitIdFS baseUnitId
-=======
- RawPkgQual b -> sl_fs b == fastStringToText (unitIdFS baseUnitId)
->>>>>>> d9408cc56ae (the biggest boy)
-
loc' = noAnnSrcSpan loc
preludeImportDecl :: LImportDecl GhcPs
=====================================
compiler/GHC/Parser/Lexer.x
=====================================
@@ -923,14 +923,8 @@ data Token
-- Note [Literal source text] in "GHC.Types.SourceText"
| ITchar SourceText Char -- Note [Literal source text] in "GHC.Types.SourceText"
-<<<<<<< HEAD
- | ITstring SourceText Text -- Note [Literal source text] in "GHC.Types.SourceText"
- | ITstringMulti SourceText Text -- Note [Literal source text] in "GHC.Types.SourceText"
-||||||| parent of b7e90ce15e3 (more)
- | ITstring SourceText Text -- Note [Literal source text] in "GHC.Types.SourceText"
-=======
- | ITstring SourceText String -- Note [Literal source text] in "GHC.Types.SourceText"
->>>>>>> b7e90ce15e3 (more)
+ | ITstring SourceText String -- Note [Literal source text] in "GHC.Types.SourceText"
+ | ITstringMulti SourceText String -- Note [Literal source text] in "GHC.Types.SourceText"
| ITinteger IntegralLit -- Note [Literal source text] in "GHC.Types.SourceText"
| ITrational FractionalLit
=====================================
compiler/Language/Haskell/Syntax/Lit.hs
=====================================
@@ -52,7 +52,7 @@ data HsLit x
-- ^ Unboxed character
| HsString (XHsString x) {- SourceText -} Text
-- ^ String
- | HsMultilineString (XHsMultilineString x) {- SourceText -} FastString
+ | HsMultilineString (XHsMultilineString x) {- SourceText -} Text
-- ^ String
| HsStringPrim (XHsStringPrim x) {- SourceText -} !ByteString
-- ^ Packed bytes
=====================================
utils/haddock/haddock-api/haddock-api.cabal
=====================================
@@ -83,6 +83,7 @@ library
, haddock-library ^>= 1.11
, xhtml ^>= 3000.2.2
, parsec ^>= 3.1.13.0
+ , text >= 2.0 && < 2.2
-- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/295606ed9d000133c3f1ba59096a562a2b71ba0b
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/295606ed9d000133c3f1ba59096a562a2b71ba0b
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/20241011/b7c12ad9/attachment-0001.html>
More information about the ghc-commits
mailing list