[Git][ghc/ghc][master] CString.hs: Update incorrect comment.
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 598624b9 by Andreas Klebinger at 2026-01-17T13:17:32-05:00 CString.hs: Update incorrect comment. Fixes #26322 - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/CString.hs Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/CString.hs ===================================== @@ -79,13 +79,12 @@ summarises the moving parts. bindings, breaking out usual rule. See GHC.Core Note [Core top-level string literals] -* TODO: There is work on a special code-gen path for top-level boxed strings +* There is a special code-gen path for top-level boxed strings + str :: [Char] str = unpackCString# "foo"# - so that they can all share a common code pointer - - There is a WIP MR on gitlab for this: !3012 + It's document in Note [unpack_cstring closures]. -} ----------------------------------------------------------------------------- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/598624b9129fcb2054e2a98edf5723fe... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/598624b9129fcb2054e2a98edf5723fe... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)