check-api-annotations checks for annotation preceding its span
[ghc.git] / testsuite / tests / ghc-api / annotations / T10358.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 ((Test10358.hs:1:1,AnnModule), [Test10358.hs:2:1-6]),
13 ((Test10358.hs:1:1,AnnWhere), [Test10358.hs:2:18-22]),
14 ((Test10358.hs:(4,1)-(8,6),AnnEqual), [Test10358.hs:4:15]),
15 ((Test10358.hs:(4,1)-(8,6),AnnFunId), [Test10358.hs:4:1-7]),
16 ((Test10358.hs:(4,1)-(8,6),AnnSemi), [Test10358.hs:9:1]),
17 ((Test10358.hs:(5,3)-(8,6),AnnIn), [Test10358.hs:8:3-4]),
18 ((Test10358.hs:(5,3)-(8,6),AnnLet), [Test10358.hs:5:3-5]),
19 ((Test10358.hs:5:7-16,AnnBang), [Test10358.hs:5:7]),
20 ((Test10358.hs:5:7-16,AnnEqual), [Test10358.hs:5:12]),
21 ((Test10358.hs:5:7-16,AnnFunId), [Test10358.hs:5:8-10]),
22 ((Test10358.hs:5:7-16,AnnSemi), [Test10358.hs:5:17]),
23 ((Test10358.hs:5:14-16,AnnVal), [Test10358.hs:5:15]),
24 ((Test10358.hs:5:19-32,AnnBang), [Test10358.hs:5:19]),
25 ((Test10358.hs:5:19-32,AnnEqual), [Test10358.hs:5:24]),
26 ((Test10358.hs:5:19-32,AnnFunId), [Test10358.hs:5:20-22]),
27 ((Test10358.hs:5:19-32,AnnSemi), [Test10358.hs:6:7]),
28 ((Test10358.hs:5:26-32,AnnVal), [Test10358.hs:5:29]),
29 ((Test10358.hs:6:7-16,AnnEqual), [Test10358.hs:6:10]),
30 ((Test10358.hs:6:7-16,AnnFunId), [Test10358.hs:6:7-8]),
31 ((Test10358.hs:6:7-16,AnnSemi), [Test10358.hs:7:7]),
32 ((Test10358.hs:6:12-14,AnnVal), [Test10358.hs:6:13]),
33 ((Test10358.hs:6:12-16,AnnVal), [Test10358.hs:6:15]),
34 ((Test10358.hs:7:7-17,AnnEqual), [Test10358.hs:7:10]),
35 ((Test10358.hs:7:7-17,AnnFunId), [Test10358.hs:7:7-8]),
36 ((Test10358.hs:7:12-17,AnnVal), [Test10358.hs:7:14]),
37 ((<no location info>,AnnEofPos), [Test10358.hs:9:1])
38 ]
39