[GHC] #13677: Incorrect parenthesization of type in error message

GHC ghc-devs at haskell.org
Thu May 11 21:33:23 UTC 2017


#13677: Incorrect parenthesization of type in error message
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3570
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2277172ac3ea0bbeddebc9999a5d8b5f9f58afc9/ghc"
 2277172a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2277172ac3ea0bbeddebc9999a5d8b5f9f58afc9"
 Parenthesize pretty-printed equalities when necessary

 Fixes #13677 by parenthesizing equalities in a sufficiently high
 pretty-printing context.

 Test Plan: make test TEST=T13677

 Reviewers: goldfire, austin, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13677

 Differential Revision: https://phabricator.haskell.org/D3570
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13677#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list