[GHC] #11057: toIfaceIdDetails trace statement catches PatSynBuilder

GHC ghc-devs at haskell.org
Tue Nov 3 14:36:33 UTC 2015


#11057: toIfaceIdDetails trace statement catches PatSynBuilder
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.11
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Incorrect
  Unknown/Multiple                   |  warning at compile-time
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 hvr reported this `pprTrace` message showing up during a GHC build,

 {{{
 [ 73 of 212] Compiling GHC.Exception    ( GHC/Exception.hs,
 dist/build/GHC/Exception.o )
 toIfaceIdDetails [PatSynBuilder]
 }}}

 I believe this is due to mpickering's Phab:D1152, which introduced the
 `PatSynBuilder` constructor without handling it in `toIfaceIdDetails`.
 Given that things appear to work, I would guess we want to handle it with,

 {{{
 toIfaceIdDetails PatSynBuilder = IfVanillaId
 }}}

 but I'm not certain.

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


More information about the ghc-tickets mailing list