[GHC] #13012: ApiAnnotations comments are not machine checked
GHC
ghc-devs at haskell.org
Tue Dec 20 18:19:54 UTC 2016
#13012: ApiAnnotations comments are not machine checked
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: alanz
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
(Parser) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by mpickering):
* keywords: easy =>
Comment:
This exact information already exists in ghc-exactprint -
https://github.com/alanz/ghc-
exactprint/blob/master/src/Language/Haskell/GHC/ExactPrint/Annotate.hs -
and we tested it by running it on the whole of hackage.
I agree that the comments are useless, any consumers should just use `ghc-
exactprint` as it performs a lot of utility with the annotations. There
haven't been many people who have used it though as the API is not great
and balancing everything is quite complicated.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13012#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list