[GHC] #13215: Panic: push_bang_into_newtype_arg

GHC ghc-devs at haskell.org
Wed Feb 1 15:38:13 UTC 2017


#13215: Panic: push_bang_into_newtype_arg
-------------------------------------+-------------------------------------
        Reporter:  nad               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 Thanks. Here is a small reproduction.

 {{{
 {-# LANGUAGE Strict #-}

 newtype F = F Int

 foo (F {}) = ()
 }}}

 The fix looks to be very easy.

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


More information about the ghc-tickets mailing list