[GHC] #12801: Misleading error message when deriving Functor

GHC ghc-devs at haskell.org
Fri Nov 4 13:07:18 UTC 2016


#12801: Misleading error message when deriving Functor
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 I think this is a duplicate of #10684, as the failure to derive `Functor`
 for `Wibble` prevents `Eq` and `Show` from being derived for `Wibble`,
 causing a cascade of error messages for `Container`.

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


More information about the ghc-tickets mailing list