summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Smith <michael@diglumi.com>2015-09-02 13:56:27 +0200
committerBen Gamari <ben@smart-cactus.org>2015-09-02 13:56:31 +0200
commitba5554ec2753cc41f5e087a91f23e1f612a9eb29 (patch)
treecd1c3c652e1b9be97c6b8b7ec639596a4ffaea47 /docs
parent296bc70b5ff6c853f2782e9ec5aa47a52110345e (diff)
downloadhaskell-ba5554ec2753cc41f5e087a91f23e1f612a9eb29.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.12.1-notes.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/7.12.1-notes.xml b/docs/users_guide/7.12.1-notes.xml
index 582966639e..3916e7105a 100644
--- a/docs/users_guide/7.12.1-notes.xml
+++ b/docs/users_guide/7.12.1-notes.xml
@@ -188,6 +188,12 @@
char literals.
</para>
</listitem>
+ <listitem>
+ <para>
+ <literal>addTopDecls</literal> now accepts annotation
+ pragmas.
+ </para>
+ </listitem>
</itemizedlist>
</sect3>