
#13551: Support DEPRECATED and WARNING pragmas on Template Haskell -------------------------------------+------------------------------------- Reporter: utdemir | Owner: (none) Type: feature | Status: new request | Priority: low | Milestone: Component: Template | Version: 8.0.1 Haskell | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I'm writing TH function from some JSON spec to Haskell data structures. Some fields are marked as deprecated in the spec, therefore I want to mark the accessors to those fields with DEPRECATED pragma, but as far as I can see, TH does not support this. I'm aware that module level DEPRECATED pragma is impossible in TH, but I still want to be able to tag top-level attributes as DEPRECATED. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13551 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler