Skip to content
  • spinda's avatar
    Allow annotations though addTopDecls (#10486) · ba5554ec
    spinda authored and Ben Gamari's avatar Ben Gamari committed
    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
    ba5554ec