#10486: Allow addTopDecls to create annotations -------------------------------------+------------------------------------- Reporter: spinda | Owner: spinda Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | testsuite/tests/annotations/should_compile/th/ Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1201 -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"ba5554ec2753cc41f5e087a91f23e1f612a9eb29/ghc" ba5554ec/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="ba5554ec2753cc41f5e087a91f23e1f612a9eb29" Allow annotations though addTopDecls (#10486) addTopDecls restricts what declarations it can be used to add. Adding annotations via this method works fine with no special changes apart from adding AnnD to the declaration whitelist. Test Plan: validate Reviewers: austin, goldfire, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1201 GHC Trac Issues: #10486 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10486#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler