diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2015-05-27 17:50:55 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2015-05-27 17:50:55 +0200 |
commit | c5911479f295242e16e396eb5d1369f2e4ce8de0 (patch) | |
tree | ec8f94e9d1c75bcdeb9bae2364eaac53cb33db0d /testsuite/tests/ghc-api/annotations/parseTree.stdout | |
parent | 388448bcc2e363d1913b5132a36ac7aaa20eafc0 (diff) | |
download | haskell-c5911479f295242e16e396eb5d1369f2e4ce8de0.tar.gz |
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
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/parseTree.stdout')
-rw-r--r-- | testsuite/tests/ghc-api/annotations/parseTree.stdout | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-api/annotations/parseTree.stdout b/testsuite/tests/ghc-api/annotations/parseTree.stdout index 4986ddfa6d..f7d1e5d67b 100644 --- a/testsuite/tests/ghc-api/annotations/parseTree.stdout +++ b/testsuite/tests/ghc-api/annotations/parseTree.stdout @@ -1,14 +1,14 @@ [(AnnotationTuple.hs:14:20, [p], (1)), (AnnotationTuple.hs:14:23-29, [p], ("hello")), (AnnotationTuple.hs:14:35-37, [p], (6.5)), - (AnnotationTuple.hs:14:38, [m], ()), + (AnnotationTuple.hs:14:39, [m], ()), (AnnotationTuple.hs:14:41-52, [p], ([5, 5, 6, 7])), (AnnotationTuple.hs:16:8, [p], (1)), (AnnotationTuple.hs:16:11-17, [p], ("hello")), (AnnotationTuple.hs:16:20-22, [p], (6.5)), - (AnnotationTuple.hs:16:23, [m], ()), (AnnotationTuple.hs:16:24, [m], ()), (AnnotationTuple.hs:16:25, [m], ()), + (AnnotationTuple.hs:16:26, [m], ()), (AnnotationTuple.hs:16:26, [m], ())] [ (AK AnnotationTuple.hs:1:1 AnnCloseC = [AnnotationTuple.hs:27:1]) |