[GHC] #12709: GHC panic

GHC ghc-devs at haskell.org
Tue Nov 29 16:22:17 UTC 2016


#12709: GHC panic
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  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:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * keywords:   => LevityPolymorphism


Comment:

 We should rejec
 {{{
 a :: BoxUnbox
 a = let u :: Num (a :: TYPE rep) => a
         u = 1 + 2 + 3 + 4
 }}}
 because application `1 + blah` has a levity-polymorphic argument.  See the
 paper.

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


More information about the ghc-tickets mailing list