[Git][ghc/ghc][wip/rafl/fix-changelog] 2 commits: Fix several sphinx errors and warnings from rendering the release notes
Florian Ragwitz pushed to branch wip/rafl/fix-changelog at Glasgow Haskell Compiler / GHC Commits: 65a27cce by Florian Ragwitz at 2026-10-08T17:31:44-07:00 Fix several sphinx errors and warnings from rendering the release notes The extension references which are removed here are for extension which were already previously undocumented, so just removing them seems fine for now. - - - - - 50ff2c14 by Florian Ragwitz at 2026-10-08T17:31:44-07:00 Link to QualifiedStrings documentation - - - - - 6 changed files: - changelog.d/26616 - changelog.d/T27329 - changelog.d/boxing-family - changelog.d/tcplugin_init.md - changelog.d/unit-index - docs/users_guide/exts/literals.rst Changes: ===================================== changelog.d/26616 ===================================== @@ -3,6 +3,7 @@ synopsis: Fix the interaction of ExplicitLevelImports with qualified imports description: GHC now properly considers module qualification when tracking the levels that an identifier is imported at: + - A qualified occurrence must be bound in a corresponding qualified import of the right level. - The level error message now correctly reports the user-written qualification. mrs: !16195 ===================================== changelog.d/T27329 ===================================== @@ -7,9 +7,9 @@ description: { The following language extensions have been marked as deprecated, meaning they will now issue a warning with :ghc-flag:`-Wdeprecated-flags`: - - :extension:`AlternativeLayoutRule` - - :extension:`AlternativeLayoutRuleTransitional` - - :extension:`ParallelArrays` + - ``AlternativeLayoutRule`` + - ``AlternativeLayoutRuleTransitional`` + - ``ParallelArrays`` - :extension:`PolymorphicComponents` - :extension:`Rank2Types` } ===================================== changelog.d/boxing-family ===================================== @@ -14,6 +14,6 @@ description: comprehensions). The main two issues fixed are: - GHC can now box types of any representation, including unboxed tuples, - unboxed sums, ``AddrRep`` and all ``VecRep``s. This fixes #20864. + unboxed sums, ``AddrRep`` and all ``VecRep``\s. This fixes #20864. - GHC can now box in the middle of typechecking, before the representation of the value to box has even been determined. This fixes #25065. ===================================== changelog.d/tcplugin_init.md ===================================== @@ -12,13 +12,13 @@ description: The fields ``tcPluginStop :: s -> TcPluginM ()`` and ``dePluginStop :: s -> TcPluginM ()`` are replaced by the two fields:: - tcPluginPostTc :: s -> TcPluginM () - tcPluginShutdown :: s -> IO () + tcPluginPostTc :: s -> TcPluginM () + tcPluginShutdown :: s -> IO () respectively:: - dePluginPostTc :: s -> TcPluginM () - dePluginShutdown :: s -> IO () + dePluginPostTc :: s -> TcPluginM () + dePluginShutdown :: s -> IO () The "post-tc" actions are run at the end of typechecking, and can be used to inspect the final ``TcGblEnv``/``TcLclEnv`` of the module being typechecker. ===================================== changelog.d/unit-index ===================================== @@ -1,14 +1,14 @@ section: compiler -synopsis: Use global ``UnitIndex`` to deduplicate ``UnitInfo``s over multiple home units +synopsis: Use global ``UnitIndex`` to deduplicate ``UnitInfo``\s over multiple home units issues: #27500 #26423 #27748 #27834 #27835 mrs: !16115 !16598 !16743 !16748 description: { - The ``UnitState`` used to be duplicated for all ``HomeUnitEnv``, not sharing any of the ``UnitInfo``s. + The ``UnitState`` used to be duplicated for all ``HomeUnitEnv``, not sharing any of the ``UnitInfo``\s. This can lead to excessive memory usage with multiple home units and large package databases. - Our solution to this problem is deduplicating ``UnitInfo``s globally across the whole ``UnitEnv``. - We store this information in the ``UnitIndex`` which contains data global to all ``UnitState``s. - All processed ``UnitInfo``s and the ``WiredMap`` are stored in there, and in the future, we might + Our solution to this problem is deduplicating ``UnitInfo``\s xxx globally across the whole ``UnitEnv``. + We store this information in the ``UnitIndex`` which contains data global to all ``UnitState``\s. + All processed ``UnitInfo``\s and the ``WiredMap`` are stored in there, and in the future, we might move more fields from ``UnitState`` to ``UnitIndex``. } ===================================== docs/users_guide/exts/literals.rst ===================================== @@ -15,3 +15,4 @@ Literals overloaded_strings overloaded_labels multiline_strings + qualified_strings View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1716ea8a10f939212e33e92f9597988... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1716ea8a10f939212e33e92f9597988... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Florian Ragwitz (@rafl)