[GHC] #12014: Make it possible to deprecate a method instantiation of a typeclass instance

GHC ghc-devs at haskell.org
Thu Jun 9 11:57:14 UTC 2016


#12014: Make it possible to deprecate a method instantiation of a typeclass
instance
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by niteria):

 I was able to solve my use case from the description by using `-fdefer-
 type-errors`. Not having an `Ord` instance is a type error, so I removed
 the `Ord Unique` instance and compiled with `-fdefer-type-errors`.

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


More information about the ghc-tickets mailing list