Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ryan Scott's avatar
    46ff73df
    Use sigPrec in more places in Convert and HsUtils · 46ff73df
    Ryan Scott authored
    Trac #16183 was caused by TH conversion (in `Convert`) not properly
    inserting parentheses around occurrences of explicit signatures where
    appropriate, such as in applications, function types, and type family
    equations. Solution: use `parenthesizeHsType sigPrec` in these
    places. While I was in town, I also updated `nlHsFunTy` to do the
    same thing.
    
    (cherry picked from commit b1e569a5)
    46ff73df
    History
    Use sigPrec in more places in Convert and HsUtils
    Ryan Scott authored
    Trac #16183 was caused by TH conversion (in `Convert`) not properly
    inserting parentheses around occurrences of explicit signatures where
    appropriate, such as in applications, function types, and type family
    equations. Solution: use `parenthesizeHsType sigPrec` in these
    places. While I was in town, I also updated `nlHsFunTy` to do the
    same thing.
    
    (cherry picked from commit b1e569a5)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.