[GHC] #13215: Panic: push_bang_into_newtype_arg

GHC ghc-devs at haskell.org
Wed Feb 1 18:14:40 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 mpickering):

 Unfortunately, I don't see how to fix this properly like you suggest.

 In order to construct a `WildPat` we need to know the type the wildcard is
 meant to be, this information is not maintained anywhere in the
 `ConPatOut`.

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


More information about the ghc-tickets mailing list