[GHC] #13551: Support DEPRECATED and WARNING pragmas on Template Haskell
GHC
ghc-devs at haskell.org
Sun Apr 9 01:16:47 UTC 2017
#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
More information about the ghc-tickets
mailing list