check-api-annotations checks for annotation preceding its span
[ghc.git] / testsuite / tests / ghc-api / annotations / T10357.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 ((Test10357.hs:1:1,AnnModule), [Test10357.hs:2:1-6]),
13 ((Test10357.hs:1:1,AnnWhere), [Test10357.hs:2:18-22]),
14 ((Test10357.hs:(4,1)-(13,5),AnnEqual), [Test10357.hs:4:11]),
15 ((Test10357.hs:(4,1)-(13,5),AnnFunId), [Test10357.hs:4:1-9]),
16 ((Test10357.hs:(4,1)-(13,5),AnnSemi), [Test10357.hs:14:1]),
17 ((Test10357.hs:4:13-19,AnnVal), [Test10357.hs:4:17]),
18 ((Test10357.hs:(4,13)-(13,5),AnnVal), [Test10357.hs:4:21]),
19 ((Test10357.hs:(5,5)-(13,5),AnnCloseS), [Test10357.hs:13:5]),
20 ((Test10357.hs:(5,5)-(13,5),AnnOpenS), [Test10357.hs:5:5]),
21 ((Test10357.hs:(5,5)-(13,5),AnnVbar), [Test10357.hs:10:5]),
22 ((Test10357.hs:6:9-34,AnnCloseP), [Test10357.hs:6:34]),
23 ((Test10357.hs:6:9-34,AnnOpenP), [Test10357.hs:6:9]),
24 ((Test10357.hs:6:18-33,AnnCloseS), [Test10357.hs:6:33]),
25 ((Test10357.hs:6:18-33,AnnOpenS), [Test10357.hs:6:18]),
26 ((Test10357.hs:6:25-32,AnnCloseP), [Test10357.hs:6:32]),
27 ((Test10357.hs:6:25-32,AnnOpenP), [Test10357.hs:6:25]),
28 ((Test10357.hs:6:26-31,AnnVal), [Test10357.hs:6:29]),
29 ((Test10357.hs:(7,9)-(9,9),AnnCloseP), [Test10357.hs:9:9]),
30 ((Test10357.hs:(7,9)-(9,9),AnnOpenP), [Test10357.hs:7:9]),
31 ((Test10357.hs:7:18-57,AnnCloseP), [Test10357.hs:7:57]),
32 ((Test10357.hs:7:18-57,AnnOpenP), [Test10357.hs:7:18]),
33 ((Test10357.hs:7:19-56,AnnVal), [Test10357.hs:7:43-52]),
34 ((Test10357.hs:7:27-41,AnnCloseS), [Test10357.hs:7:41]),
35 ((Test10357.hs:7:27-41,AnnOpenS), [Test10357.hs:7:27]),
36 ((Test10357.hs:7:28,AnnComma), [Test10357.hs:7:29]),
37 ((Test10357.hs:7:31-36,AnnVal), [Test10357.hs:7:33]),
38 ((Test10357.hs:7:31-40,AnnVal), [Test10357.hs:7:38]),
39 ((Test10357.hs:7:43-52,AnnBackquote), [Test10357.hs:7:43, Test10357.hs:7:52]),
40 ((Test10357.hs:7:43-52,AnnVal), [Test10357.hs:7:44-51]),
41 ((Test10357.hs:8:18-59,AnnCloseP), [Test10357.hs:8:59]),
42 ((Test10357.hs:8:18-59,AnnOpenP), [Test10357.hs:8:18]),
43 ((Test10357.hs:8:19-58,AnnVal), [Test10357.hs:8:43-52]),
44 ((Test10357.hs:8:37-41,AnnCloseS), [Test10357.hs:8:41]),
45 ((Test10357.hs:8:37-41,AnnOpenS), [Test10357.hs:8:37]),
46 ((Test10357.hs:8:38-40,AnnMinus), [Test10357.hs:8:38]),
47 ((Test10357.hs:8:43-52,AnnBackquote), [Test10357.hs:8:43, Test10357.hs:8:52]),
48 ((Test10357.hs:8:43-52,AnnVal), [Test10357.hs:8:44-51]),
49 ((Test10357.hs:10:7-20,AnnComma), [Test10357.hs:10:21]),
50 ((Test10357.hs:10:7-20,AnnLarrow), [Test10357.hs:10:13-14]),
51 ((Test10357.hs:10:16-20,AnnCloseS), [Test10357.hs:10:20]),
52 ((Test10357.hs:10:16-20,AnnDotdot), [Test10357.hs:10:18-19]),
53 ((Test10357.hs:10:16-20,AnnOpenS), [Test10357.hs:10:16]),
54 ((Test10357.hs:10:23-44,AnnLet), [Test10357.hs:10:23-25]),
55 ((Test10357.hs:10:23-44,AnnVbar), [Test10357.hs:11:5]),
56 ((Test10357.hs:10:27-44,AnnEqual), [Test10357.hs:10:30]),
57 ((Test10357.hs:10:27-44,AnnFunId), [Test10357.hs:10:27-28]),
58 ((Test10357.hs:11:7-29,AnnLarrow), [Test10357.hs:11:13-14]),
59 ((Test10357.hs:11:7-29,AnnVbar), [Test10357.hs:12:5]),
60 ((Test10357.hs:12:7-24,AnnLarrow), [Test10357.hs:12:13-14]),
61 ((<no location info>,AnnEofPos), [Test10357.hs:14:1])
62 ]
63