Wolfgang Jeltsch pushed to branch wip/jeltsch/textual-bytecode-output at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/ByteCode/Show.hs
    ... ... @@ -285,10 +285,10 @@ pprTopLevelStrings = entry (text "top-level strings:") .
    285 285
     -- | […]
    
    286 286
     pprTopLevelString :: Name -> ByteString -> SDoc
    
    287 287
     pprTopLevelString stringName encodedString
    
    288
    -    = entry (text "string" <+> ppr stringName <> text ":") $
    
    289
    -      text                                                 $
    
    290
    -      show                                                 $
    
    291
    -      utf8DecodeByteString                                 $
    
    288
    +    = entry (ppr stringName <> text ":") $
    
    289
    +      text                               $
    
    290
    +      show                               $
    
    291
    +      utf8DecodeByteString               $
    
    292 292
           encodedString
    
    293 293
     
    
    294 294
     -- | […]