[GHC] #10399: ApiAnnotations tweaks

GHC ghc-devs at haskell.org
Wed May 27 15:50:53 UTC 2015


#10399: ApiAnnotations tweaks
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                   Owner:  alanz
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |  ApiAnnotations
 Type of failure:  None/Unknown      |            Architecture:
      Blocked By:                    |  Unknown/Multiple
 Related Tickets:                    |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D901
-------------------------------------+-------------------------------------

Comment (by Alan Zimmerman <alan.zimm@…>):

 In [changeset:"c5911479f295242e16e396eb5d1369f2e4ce8de0/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c5911479f295242e16e396eb5d1369f2e4ce8de0"
 ApiAnnotations tweaks

 Summary:
 A collection of minor updates for the API Annotations.

 1. The annotations for the implicity parameter is disconnected in the
    following

     type MPI = ?mpi_secret :: MPISecret

 2. In the following, the annotation for one of the commas is disconeected.

     mkPoli = mkBila . map ((,,(),,()) <$> P.base <*> P.pos <*> P.form)

 3. In the following, the annotation for the parens becomes disconnected

     data MaybeDefault v where
         SetTo :: forall v . ( Eq v, Show v ) => !v -> MaybeDefault v
         SetTo4 :: forall v a. (( Eq v, Show v ) => v -> MaybeDefault v
                                                 -> a -> MaybeDefault [a])

 Test Plan: ./validate

 Reviewers: hvr, austin

 Reviewed By: austin

 Subscribers: bgamari, thomie, mpickering

 Differential Revision: https://phabricator.haskell.org/D901

 GHC Trac Issues: #10399
 }}}

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


More information about the ghc-tickets mailing list