[GHC] #14265: kinded holes

GHC ghc-devs at haskell.org
Mon Sep 25 13:01:49 UTC 2017


#14265: kinded holes
-------------------------------------+-------------------------------------
        Reporter:  lspitzner         |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |             Keywords:
      Resolution:                    |  PartialTypeSignatures
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"1b476ab55be6c2c553988cc63d8e0c5473136275/ghc"
 1b476ab5/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1b476ab55be6c2c553988cc63d8e0c5473136275"
 Improve type-error reporting

 This patch does two things:

 * When reporting a hole, we now include its kind if the
   kind is not just '*'.  This addresses Trac #14265

 * When reporting things like "'a' is a rigid type varaible
   bound by ...", this patch arranges to group the type variables
   together, so we don't repeat the "bound by..." stuff endlessly
 }}}

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


More information about the ghc-tickets mailing list