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

GHC ghc-devs at haskell.org
Sat Jan 23 15:44:18 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:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 No, I didn't consider `HsTypeApp`. That would probably be an improvement.
 My choice of abstract syntax was inspired by Core, which just has `App ::
 CoreExpr -> CoreExpr -> CoreExpr` and `Type :: Type -> CoreExpr`.

 I'll look into this refactoring. It could actually simplify quite a bit.
 (For example, see the awful `tcSeq` and `tcTagToEnum` in !TcExpr.) Thanks
 for the suggestion.

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


More information about the ghc-tickets mailing list