[GHC] #8128: Standalone deriving fails for GADTs due to inaccessible code

GHC ghc-devs at haskell.org
Wed Dec 30 12:35:09 UTC 2015


#8128: Standalone deriving fails for GADTs due to inaccessible code
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.7
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8740, #11066     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

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


Comment:

 I think the right way to fix this is to make inaccessible code errors into
 warnings (per #11066). We could then optionally suppress them if they
 arise from generated code.

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


More information about the ghc-tickets mailing list