diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-07-20 12:50:50 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-07-20 12:50:50 +0200 |
commit | 99f45e2a751dda4fdf00256d397a2932d430f3a7 (patch) | |
tree | 0a556fd4706a6f496d7af0ac27439b216241ee1b /testsuite/tests/typecheck/should_run | |
parent | 176abdf4126c949be7cd3aecd8b95c0fffe6d849 (diff) | |
download | haskell-99f45e2a751dda4fdf00256d397a2932d430f3a7.tar.gz |
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
Diffstat (limited to 'testsuite/tests/typecheck/should_run')
-rw-r--r-- | testsuite/tests/typecheck/should_run/Typeable1.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_run/Typeable1.stderr b/testsuite/tests/typecheck/should_run/Typeable1.stderr index 77d26041c3..ec16681592 100644 --- a/testsuite/tests/typecheck/should_run/Typeable1.stderr +++ b/testsuite/tests/typecheck/should_run/Typeable1.stderr @@ -9,7 +9,7 @@ Typeable1.hs:22:5: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessi (t ~ a b) => TypeRep a -> TypeRep b -> TypeRep t, in a pattern binding in - 'do' block + a 'do' block • In the pattern: App x y In a stmt of a 'do' block: App x y <- pure x In the expression: |