[GHC] #11520: GHC falls into a hole if given incorrect kind signature

GHC ghc-devs at haskell.org
Wed Feb 10 14:32:42 UTC 2016


#11520: GHC falls into a hole if given incorrect kind signature
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.0.1-rc1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"b565830dda0994d5d67617039db3310f81e831c8/ghc"
 b565830d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b565830dda0994d5d67617039db3310f81e831c8"
 Wrap solveEqualities in checkNoErrs

 This simple change fixes Trac #11563, #11520, #11516, #11399.
 See esp the comments in #11520.

 See Note [Fail fast on kind errors] in TcSimplify

 Merge to 8.0 branch
 }}}

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


More information about the ghc-tickets mailing list