[GHC] #10399: ApiAnnotations tweaks

GHC ghc-devs at haskell.org
Mon May 18 08:33:57 UTC 2015


#10399: ApiAnnotations tweaks
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                   Owner:  alanz
            Type:  bug               |                  Status:  new
        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:
-------------------------------------+-------------------------------------
Description changed by alanz:

Old description:

> A collection of minor updates for the API Annotations.
>
> 1. The annotations for the implicity parameter is disconnected in the
> following
>
> {{{#!hs
> type MPI = ?mpi_secret :: MPISecret
> }}}
>
> 2. In the following, the annotation for one of the commas is
> disconeected.
>
> {{{#!hs
> mkPoli = mkBila . map ((,,(),,()) <$> P.base <*> P.pos <*> P.form)
> }}}
>
> 3. In the following, the annotation for the parens becomes disconnected
>
> {{{#!hs
> data MaybeDefault v where
>     SetTo :: forall v . ( Eq v, Show v ) => !v -> MaybeDefault v
> }}}

New description:

 A collection of minor updates for the API Annotations.

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

 {{{#!hs
 type MPI = ?mpi_secret :: MPISecret
 }}}

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

 {{{#!hs
 mkPoli = mkBila . map ((,,(),,()) <$> P.base <*> P.pos <*> P.form)
 }}}

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

 {{{#!hs
 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])

 }}}

--

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


More information about the ghc-tickets mailing list