• Ryan Scott's avatar
    Improve treatment of sectioned holes · 4d41e921
    Ryan Scott authored
    Summary:
    Previously, GHC was pretty-printing left-section holes
    incorrectly and not parsing right-sectioned holes at all. This patch
    fixes both problems.
    
    Test Plan: make test TEST=T14590
    
    Reviewers: bgamari, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, rwbarton, thomie, mpickering, carter
    
    GHC Trac Issues: #14590
    
    Differential Revision: https://phabricator.haskell.org/D4273
    4d41e921
HsExpr.hs 102 KB