[GHC] #13929: GHC panic with levity polymorphism

GHC ghc-devs at haskell.org
Thu Jul 6 18:51:31 UTC 2017


#13929: GHC panic with levity polymorphism
-------------------------------------+-------------------------------------
        Reporter:  vagarenko         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:  TypeInType,
                                     |  LevityPolymorphism
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 bgamari):

 To be clear, I don't think (although could be wrong) this program should
 compile; afterall, the type of `gunbox` requires that we represent a
 levity polymorphic result, which we cannot do. Hence, the real bug here is
 the panic instead of a proper type error.

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


More information about the ghc-tickets mailing list