diff options
| author | Alec Theriault <alec.theriault@gmail.com> | 2018-09-25 11:58:12 +0200 |
|---|---|---|
| committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-09-25 11:58:12 +0200 |
| commit | 9bfbc4e16d511678cffa9f7f76b369c8cfca7a66 (patch) | |
| tree | 16c1f3ba6ef57d056a863cb71e67aaa349c1a73a /compiler/rename | |
| parent | a38eaa66af711abd22a72774ae0f4cf95b2bff7a (diff) | |
| download | haskell-9bfbc4e16d511678cffa9f7f76b369c8cfca7a66.tar.gz | |
Don't show constraint tuples in errors (#14907)
Summary:
This means that 'GHC.Classes.(%,%)' is no longer mentioned in
error messages for things like
class (a,b,c) -- outside of 'GHC.Classes'
class (a,Bool)
Test Plan: make TEST=T14907a && make TEST=T14907b
Reviewers: RyanGlScott, bgamari
Reviewed By: RyanGlScott
Subscribers: rwbarton, carter
GHC Trac Issues: #14907
Differential Revision: https://phabricator.haskell.org/D5172
Diffstat (limited to 'compiler/rename')
| -rw-r--r-- | compiler/rename/RnEnv.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rename/RnEnv.hs b/compiler/rename/RnEnv.hs index 16897c2681..516c43c14a 100644 --- a/compiler/rename/RnEnv.hs +++ b/compiler/rename/RnEnv.hs @@ -53,7 +53,7 @@ import RdrName import HscTypes import TcEnv import TcRnMonad -import RdrHsSyn ( setRdrNameSpace ) +import RdrHsSyn ( filterCTuple, setRdrNameSpace ) import TysWiredIn import Name import NameSet @@ -1653,4 +1653,4 @@ badOrigBinding name -- -- (See Trac #13968.) where - occ = rdrNameOcc name + occ = rdrNameOcc $ filterCTuple name |
