[GHC] #10917: Provide a utility to check API Annotations

GHC ghc-devs at haskell.org
Sun Sep 27 16:50:37 UTC 2015


#10917: Provide a utility to check API Annotations
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  alanz
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
  ApiAnnotations                     |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |
-------------------------------------+-------------------------------------
 At the moment it is difficult for GHC developers to know if they have
 broken the API Annotations.

 Provide a utility that can be used as a test to show up errors in the API
 Annotations.

 This is to be based on the current tests for ghc-api/annotations which can
 parse a file using the just-built GHC API, and check that no annotations
 are disconnected from the ParsedSource in the output.

 In addition, it should be able to dump the annotations to a file, so a new
 feature developer can check that all changes to the parser do provide
 annotations.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10917>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list