summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations/exampleTest.stdout
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2015-05-21 15:48:07 +0200
committerAlan Zimmerman <alan.zimm@gmail.com>2015-05-21 20:24:41 +0200
commit382eba2bbad73b6dcfb8d0bad3bb2d6cc0ded5a3 (patch)
treee7d5156773f13acc134926451583f21b24f70cd3 /testsuite/tests/ghc-api/annotations/exampleTest.stdout
parent1289c598b91ba3ec7c5313cc20437a41122c1fc2 (diff)
downloadhaskell-wip/api-annots-ghc-7.10.tar.gz
ApiAnnotatons : AnnDcolon in wrong place for PatBindwip/api-annots-ghc-7.10
Summary: In the following code fragment let ls :: Int = undefined the `::` is attached to the ls function as a whole, rather than to the pattern on the LHS. Test Plan: ./validate Reviewers: hvr, austin Reviewed By: austin Subscribers: bgamari, thomie, mpickering Differential Revision: https://phabricator.haskell.org/D883 GHC Trac Issues: #10396 (cherry picked from commit c488da851c39ca202cdd056091176acbabdd7dd4)
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/exampleTest.stdout')
-rw-r--r--testsuite/tests/ghc-api/annotations/exampleTest.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-api/annotations/exampleTest.stdout b/testsuite/tests/ghc-api/annotations/exampleTest.stdout
index 128b70a598..706d858df2 100644
--- a/testsuite/tests/ghc-api/annotations/exampleTest.stdout
+++ b/testsuite/tests/ghc-api/annotations/exampleTest.stdout
@@ -149,7 +149,7 @@
(AK AnnotationTuple.hs:23:9-24 AnnLarrow = [AnnotationTuple.hs:23:16-17])
-(AK AnnotationTuple.hs:26:1-14 AnnDcolon = [AnnotationTuple.hs:26:5-6])
+(AK AnnotationTuple.hs:26:1-10 AnnDcolon = [AnnotationTuple.hs:26:5-6])
(AK AnnotationTuple.hs:26:1-14 AnnEqual = [AnnotationTuple.hs:26:12])