Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • libraries/ghc-internal/src/GHC/Internal/CString.hs
    ... ... @@ -79,13 +79,12 @@ summarises the moving parts.
    79 79
       bindings, breaking out usual rule.  See GHC.Core
    
    80 80
       Note [Core top-level string literals]
    
    81 81
     
    
    82
    -* TODO: There is work on a special code-gen path for top-level boxed strings
    
    82
    +* There is a special code-gen path for top-level boxed strings
    
    83
    +
    
    83 84
          str :: [Char]
    
    84 85
          str = unpackCString# "foo"#
    
    85
    -  so that they can all share a common code pointer
    
    86
    -
    
    87
    -  There is a WIP MR on gitlab for this: !3012
    
    88 86
     
    
    87
    +  It's document in Note [unpack_cstring closures].
    
    89 88
     -}
    
    90 89
     
    
    91 90
     -----------------------------------------------------------------------------