
#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): Better. Syntax: why not just do this for a nested DEPRECATED pragma, thus {{{ class C a where foo :: a bar :: a -> a bar x = x {-# DEPRECATED bar "burble wurble" #-} doo :: a }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10071#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler