Fix #15423 by using pprAStmtContext
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
Showing
- compiler/hsSyn/HsExpr.hs 1 addition, 1 deletioncompiler/hsSyn/HsExpr.hs
- testsuite/tests/ado/T13242a.stderr 1 addition, 1 deletiontestsuite/tests/ado/T13242a.stderr
- testsuite/tests/indexed-types/should_fail/T7786.stderr 1 addition, 1 deletiontestsuite/tests/indexed-types/should_fail/T7786.stderr
- testsuite/tests/typecheck/should_run/Typeable1.stderr 1 addition, 1 deletiontestsuite/tests/typecheck/should_run/Typeable1.stderr
Loading
Please register or sign in to comment