[GHC] #8740: Deriving instance conditionally compiles

GHC ghc-devs at haskell.org
Tue Jan 23 00:34:41 UTC 2018


#8740: Deriving instance conditionally compiles
-------------------------------------+-------------------------------------
        Reporter:  thomaseding       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.6.3
  checker)                           |             Keywords:  GADTs,
      Resolution:                    |  deriving
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8128             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Indeed I was bitten by this just now. This is quite an unfortunate
 behavior.

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


More information about the ghc-tickets mailing list