[GHC] #13215: Panic: push_bang_into_newtype_arg

GHC ghc-devs at haskell.org
Fri Feb 3 12:43:47 UTC 2017


#13215: Panic: push_bang_into_newtype_arg
-------------------------------------+-------------------------------------
        Reporter:  nad               |                Owner:  mpickering
            Type:  bug               |               Status:  patch
        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):  Phab:D3057
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Sure it is!  The `ConPatOut` has the type args of data con `pat_arg_tys`.
 And `dataConInstArgTys` will convert that list to a (singleton in this
 case) list of arg tys for the newtype constructor.

 Thanks for working on this

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


More information about the ghc-tickets mailing list