
#10071: Implement deprecation-warnings for class-methods to non-method transitions -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.8.4 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #8004, #4384 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj): Notes from conversation with Herbert and Simon PJ. Proposed data types: {{{ data Warnings = ... | WarnSome [WarnItem] data WarnItem = WI OccName WarnInfo (Located SourceText) [Located (SourceText,FastString)] data WarnInfo = Warning | DeprecTop | DeprecMeth }}} The new bit is the `DeprecMeth`. Need updated ticket description, or wiki page, to give examples of the different behaviour. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10071#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler