[GHC] #11681: ghc panic with TypeError

GHC ghc-devs at haskell.org
Wed Mar 9 13:42:42 UTC 2016


#11681: ghc panic with TypeError
-------------------------------------+-------------------------------------
        Reporter:  inaki             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.0.1-rc2
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I dunno about RC2, but HEAD says (on the program in in comment:6):
 {{{
 T11681.hs:11:42: error:
     • Expected kind ‘ErrorMessage’, but ‘"B"’ has kind ‘Symbol’
     • In the second argument of ‘:<>:’, namely ‘"B"’
       In the first argument of ‘TypeError’, namely ‘Text "A" :<>: "B"’
       In the instance declaration for ‘C t’
 }}}
 which seems pretty plausible.

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


More information about the ghc-tickets mailing list