[GHC] #12689: DataCon wrappers get in the way of rules

GHC ghc-devs at haskell.org
Thu Oct 13 09:26:31 UTC 2016


#12689: DataCon wrappers get in the way of rules
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I can't see any decent way forward here except to delay inlining the
 wrapper until phase 1.

 In GHC as-is that may be fine, because it'll only apply to data-cons that
 have wrappers, which are relatively rarer.  It'd need to be documented.

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


More information about the ghc-tickets mailing list