[GHC] #11742: 'Strict' extension is incompatible with 'deriving' mechanism

GHC ghc-devs at haskell.org
Tue Mar 22 16:46:42 UTC 2016


#11742: 'Strict' extension is incompatible with 'deriving' mechanism
-------------------------------------+-------------------------------------
           Reporter:  awson          |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This:
 {{{#!hs
 {-# LANGUAGE Strict #-}

 module Foo where

 data Foo = Foo deriving Eq
 }}}
 panics with
 {{{
 ghc.EXE: panic! (the 'impossible' happened)
   (GHC version 8.1.20160317 for x86_64-unknown-mingw32):
         makeCorePair: dfun $dEq_a1zL
 }}}

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


More information about the ghc-tickets mailing list