check-api-annotations checks for annotation preceding its span
[ghc.git] / testsuite / tests / ghc-api / annotations / T10396.stdout
1 ---Unattached Annotation Problems (should be empty list)---
2 []
3 ---Ann before enclosing span problem (should be empty list)---
4 [
5
6 ]
7
8 ---Annotations-----------------------
9 -- SrcSpan the annotation is attached to, AnnKeywordId,
10 --    list of locations the keyword item appears in
11 [
12 ((Test10396.hs:1:1,AnnModule), [Test10396.hs:2:1-6]),
13 ((Test10396.hs:1:1,AnnWhere), [Test10396.hs:2:18-22]),
14 ((Test10396.hs:4:1-15,AnnDcolon), [Test10396.hs:4:8-9]),
15 ((Test10396.hs:4:1-15,AnnSemi), [Test10396.hs:5:1]),
16 ((Test10396.hs:4:14-15,AnnCloseP), [Test10396.hs:4:15]),
17 ((Test10396.hs:4:14-15,AnnOpenP), [Test10396.hs:4:14]),
18 ((Test10396.hs:(5,1)-(7,11),AnnEqual), [Test10396.hs:5:7]),
19 ((Test10396.hs:(5,1)-(7,11),AnnFunId), [Test10396.hs:5:1-6]),
20 ((Test10396.hs:(5,1)-(7,11),AnnSemi), [Test10396.hs:8:1]),
21 ((Test10396.hs:(5,9)-(7,11),AnnDo), [Test10396.hs:5:9-10]),
22 ((Test10396.hs:6:3-27,AnnLet), [Test10396.hs:6:3-5]),
23 ((Test10396.hs:6:3-27,AnnSemi), [Test10396.hs:7:3]),
24 ((Test10396.hs:6:7-15,AnnDcolon), [Test10396.hs:6:10-11]),
25 ((Test10396.hs:6:7-27,AnnEqual), [Test10396.hs:6:17]),
26 ((Test10396.hs:7:10-11,AnnCloseP), [Test10396.hs:7:11]),
27 ((Test10396.hs:7:10-11,AnnOpenP), [Test10396.hs:7:10]),
28 ((<no location info>,AnnEofPos), [Test10396.hs:8:1])
29 ]
30