recursion-ninja pushed to branch wip/fix-26971 at Glasgow Haskell Compiler / GHC Commits: f64cb654 by Recursion Ninja at 2026-07-01T09:10:45-04:00 Decoupling 'L.H.S' from 'GHC.Hs.Doc' * Migrated 'GHC.Hs.Doc' and 'GHC.Hs.DocString' AST defintions from 'GHC.*' namespace, to new 'Language.Haskell.Syntax.Doc' module in the 'L.H.S' "namespace." * Updated 'HsDocString to be TTG-parameterised as 'HsDocString pass'. * Added 'GHC.Hs.Extension.Pass': splits 'GhcPass'/'Pass' and all 'HsDocString' TTG instances out of 'GHC.Hs.Extension', which re-exports it unchanged (this is backwards compatible and prevents the introduction of a boot file). * Deleted 'GHC.Hs.Doc.hs-boot'; removed all 'L.H.S.*' imports of 'GHC.Hs.Doc'. * Updated 'GHC.Hs.DocString' to be TTG pass-parameterised throughout; moved 'mkHsDocStringChunk'/'unpackHDSC' here (require 'GHC.Utils.Encoding'). * Split 'GHC.Rename.Doc.rnHsDoc' from 'rnHsDocIdentifiersOnly'. * Updated parser, renamer, typechecker, HIE, and exact-print for new types. * Added 'HsDocString' TTG instances for 'DocNameI' to 'Haddock.Types'. Resolves #26971 - - - - - 688c7e4b by Recursion Ninja at 2026-07-01T13:24:57-04:00 Module split 'GHC.Hs.Lit' to avoid boot file build issues: * Removes the {-# SOURCE #-} GHC.Hs.Expr (pprExpr) import from 'GHC.Hs.Lit' * Removes direct 'Language.Haskell.Syntax.Expr (HsExpr)' usage from 'GHC.Hs.Lit' * Moves "overloaded" literal declarations and instances into 'GHC.Hs.Lit.Overloaded' * Moves "qualified" literal declarations and instances into 'GHC.Hs.Lit.Qualified' * Moves "type-checked" literal declarations and instances into 'GHC.Hs.Lit.Typechecked' * Moves shared normal-literal helpers into 'GHC.Hs.Lit.Internal' * Maintains 'GHC.Hs.Lit' backwards compatibility by importing and re-exporting the moved API * Leaves boot files untouched (alternative being more boot file definitions) - - - - - 40 changed files: - compiler/GHC/Builtin/Utils.hs - compiler/GHC/Hs.hs - compiler/GHC/Hs/Doc.hs - − compiler/GHC/Hs/Doc.hs-boot - compiler/GHC/Hs/DocString.hs - compiler/GHC/Hs/Extension.hs - + compiler/GHC/Hs/Extension/Pass.hs - compiler/GHC/Hs/ImpExp.hs - compiler/GHC/Hs/Lit.hs - + compiler/GHC/Hs/Lit/Internal.hs - + compiler/GHC/Hs/Lit/Overloaded.hs - + compiler/GHC/Hs/Lit/Qualified.hs - + compiler/GHC/Hs/Lit/Typechecked.hs - compiler/GHC/HsToCore/Docs.hs - compiler/GHC/Iface/Ext/Ast.hs - compiler/GHC/Iface/Syntax.hs - compiler/GHC/Parser/Annotation.hs - compiler/GHC/Parser/HaddockLex.x - compiler/GHC/Parser/Lexer.x - compiler/GHC/Parser/PostProcess/Haddock.hs - compiler/GHC/Rename/Doc.hs - compiler/GHC/Rename/Module.hs - compiler/GHC/Tc/Errors/Hole.hs - compiler/GHC/Tc/Errors/Hole/FitTypes.hs - compiler/GHC/Tc/Gen/Splice.hs - compiler/GHC/Tc/Module.hs - compiler/GHC/Types/Hint.hs - compiler/Language/Haskell/Syntax.hs - compiler/Language/Haskell/Syntax/Decls.hs - + compiler/Language/Haskell/Syntax/Doc.hs - compiler/Language/Haskell/Syntax/Extension.hs - compiler/Language/Haskell/Syntax/ImpExp.hs - compiler/Language/Haskell/Syntax/Type.hs - compiler/ghc.cabal.in - utils/check-exact/ExactPrint.hs - utils/check-exact/Utils.hs - utils/haddock/haddock-api/src/Haddock/Interface/Create.hs - utils/haddock/haddock-api/src/Haddock/Interface/LexParseRn.hs - utils/haddock/haddock-api/src/Haddock/Interface/Rename.hs - utils/haddock/haddock-api/src/Haddock/Types.hs The diff was not included because it is too large. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/eb9f93e6cfb364808872755f05b26b7... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/eb9f93e6cfb364808872755f05b26b7... You're receiving this email because of your account on gitlab.haskell.org.