[GHC] #7401: Can't derive instance for Eq when datatype has no constructor, while it is trivial do do so.

GHC ghc-devs at haskell.org
Tue May 29 16:52:01 UTC 2018


#7401: Can't derive instance for Eq when datatype has no constructor, while it is
trivial do do so.
-------------------------------------+-------------------------------------
        Reporter:  jpbernardy        |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  7.6.1
      Resolution:  fixed             |             Keywords:  deriving,
                                     |  newcomer, GHCProposal
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  deriving/should_run/T7401,
                                     |  deriving/should_run/T7401_fail
      Blocked By:                    |             Blocking:
 Related Tickets:  #10577, #13117    |  Differential Rev(s):  Phab:D4047
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * keywords:  deriving, newcomer => deriving, newcomer, GHCProposal


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


More information about the ghc-tickets mailing list