[GHC] #13337: GHC doesn't think a type is of kind *, despite having evidence for it

GHC ghc-devs at haskell.org
Mon Mar 27 15:31:38 UTC 2017


#13337: GHC doesn't think a type is of kind *, despite having evidence for it
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  goldfire
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler (Type    |              Version:  8.0.2
  checker)                           |
      Resolution:  fixed             |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3315
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"1e06d8b8f2aea0a06d40618c296a034f3e408ae2/ghc"
 1e06d8b8/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1e06d8b8f2aea0a06d40618c296a034f3e408ae2"
 Simplify the logic for tc_hs_sig_type

 In fixing Trac #13337, and introducing solveSomeEqualities,
 Richard introduce the higher-order function tc_hs_sig_type_x,
 with a solver as its argument.

 It turned out that there was a much simpler way to do the
 same thing, which this patch implements.  Less code, easier
 to grok.  No change in behaviour though.
 }}}

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


More information about the ghc-tickets mailing list