[GHC] #8132: Warning for Typeable instances misplaced

GHC ghc-devs at haskell.org
Mon Aug 19 10:26:40 CEST 2013


#8132: Warning for Typeable instances misplaced
-------------------------------------------------+-------------------------
        Reporter:  scottgw                       |            Owner:
            Type:  bug                           |  dreixel
        Priority:  normal                        |           Status:  new
       Component:  Compiler                      |        Milestone:
      Resolution:                                |          Version:  7.7
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  Incorrect warning at          |     Architecture:
  compile-time                                   |  Unknown/Multiple
       Test Case:                                |       Difficulty:
        Blocking:                                |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by simonpj):

 Oh bother.  We want to give a pretty strong incentive to change those
 `Typeable` instances.

 At least the warning should say "This warning will become an error in GHC
 7.10; please use "deriving Typeable" instead".

 Then let's re-mile-stone this ticket for 7.10 with highest priority.

 Until then maybe it's the lesser evil to have the problem described by
 this ticket.  (An alternative would be to have warnings that are displayed
 willy-nilly, but there's no easy way to do that.)

 Might you do those things?

 Thanks

 Simon

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




More information about the ghc-tickets mailing list