• Ryan Scott's avatar
    Fix #15423 by using pprAStmtContext · 99f45e2a
    Ryan Scott authored
    Summary:
    Previously, we were using `pprStmtContext` instead, which
    led to error messages missing indefinite articles where they were
    required.
    
    Test Plan: make test TEST="T13242a T7786 Typeable1"
    
    Reviewers: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #15423
    
    Differential Revision: https://phabricator.haskell.org/D4992
    99f45e2a
HsExpr.hs 112 KB