[GHC] #10614: Show constraints in ``Found hole...''

GHC ghc-devs at haskell.org
Tue Nov 29 21:46:58 UTC 2016


#10614: Show constraints in ``Found hole...''
-------------------------------------+-------------------------------------
        Reporter:  bjmprice          |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://phabricator.haskell.org/D2767
-------------------------------------+-------------------------------------
Changes (by zyla):

 * status:  new => patch
 * differential:   => https://phabricator.haskell.org/D2767


Comment:

 I've submitted a patch to Phabicator. There are some problems though:

 - `pprSkolInfo` is reused for printing the source of the constraints, and
 the messages become quite long.
 - It doesn't yet detect duplicates.

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


More information about the ghc-tickets mailing list