[GHC] #11456: Type application and :set +c command cause panic

GHC ghc-devs at haskell.org
Fri Jan 22 18:42:42 UTC 2016


#11456: Type application and :set +c command cause panic
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications GHCi
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * cc: goldfire (added)


Comment:

 In general, though, this is a trap for GHC API users, who might expect
 every `HsExpr` to be, well, an expression. Richard, did you consider
 representing explicit type applications with a separate constructor
 `HsTypeApp`?

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


More information about the ghc-tickets mailing list