[GHC] #8503: New GeneralizedNewtypeDeriving check still isn't permissive enough

GHC ghc-devs at haskell.org
Thu Nov 21 09:46:21 UTC 2013


#8503: New GeneralizedNewtypeDeriving check still isn't permissive enough
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:  goldfire
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:  8548
        Blocking:                    |  Related Tickets:  #8541
-------------------------------------+------------------------------------

Comment (by nomeata):

 Is it hijacking this ticket to discuss the impact of GND-via-coerce here?

 Anyways, feature request #2850 will be broken if we do GND-via-coerce.
 Four tickets are broken because of #8548 (Coercible not working for
 `newtype instance` yet), these will be fixable.

 The remaining ones (`TEST="print018 cgrun068 T4203 drvrun019 T3955 T7474
 T3423 IndTypesPerf T5246 integerConstantFolding gadt6 T7332 drv015"`)
 cause panics, looking into them now.

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


More information about the ghc-tickets mailing list