Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • niteria's avatar
    2753d890
    Allow top level ticked string literals · 2753d890
    niteria authored and Ben Gamari's avatar Ben Gamari committed
    This reverts f5b275a2
    and changes the places that looked for `Lit (MachStr _))`
    to use `exprIsMbTickedLitString_maybe` to unwrap ticks as
    necessary.
    Also updated relevant comments.
    
    Test Plan:
    I added 3 new tests that previously reproduced.
    GHC HEAD now builds with -g
    
    Reviewers: simonpj, simonmar, bgamari, hvr, goldfire
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14779
    
    Differential Revision: https://phabricator.haskell.org/D4470
    
    (cherry picked from commit 5bc195a2)
    2753d890
    History
    Allow top level ticked string literals
    niteria authored and Ben Gamari's avatar Ben Gamari committed
    This reverts f5b275a2
    and changes the places that looked for `Lit (MachStr _))`
    to use `exprIsMbTickedLitString_maybe` to unwrap ticks as
    necessary.
    Also updated relevant comments.
    
    Test Plan:
    I added 3 new tests that previously reproduced.
    GHC HEAD now builds with -g
    
    Reviewers: simonpj, simonmar, bgamari, hvr, goldfire
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14779
    
    Differential Revision: https://phabricator.haskell.org/D4470
    
    (cherry picked from commit 5bc195a2)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.