[GHC] #8740: Deriving instance conditionally compiles

GHC ghc-devs at haskell.org
Sun Jun 3 11:34:59 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, #11066     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * related:  #8128 => #8128, #11066


Comment:

 Now that inaccessible code is a warning instead of an error (see #11066),
 the original program now typechecks. I'll whip up a test case.

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


More information about the ghc-tickets mailing list