check-api-annotations checks for annotation preceding its span
[ghc.git] / testsuite / tests / ghc-api / annotations / T10278.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 ((Test10278.hs:1:1,AnnModule), [Test10278.hs:2:1-6]),
13 ((Test10278.hs:1:1,AnnWhere), [Test10278.hs:2:18-22]),
14 ((Test10278.hs:4:1-61,AnnDcolon), [Test10278.hs:4:16-17]),
15 ((Test10278.hs:4:1-61,AnnSemi), [Test10278.hs:5:1]),
16 ((Test10278.hs:4:19-61,AnnDot), [Test10278.hs:4:29]),
17 ((Test10278.hs:4:19-61,AnnForall), [Test10278.hs:4:19-24]),
18 ((Test10278.hs:4:31-61,AnnDot), [Test10278.hs:4:42]),
19 ((Test10278.hs:4:31-61,AnnForall), [Test10278.hs:4:31-36]),
20 ((Test10278.hs:4:44-46,AnnRarrow), [Test10278.hs:4:48-49]),
21 ((Test10278.hs:4:44-61,AnnRarrow), [Test10278.hs:4:48-49]),
22 ((Test10278.hs:4:51-54,AnnRarrow), [Test10278.hs:4:56-57]),
23 ((Test10278.hs:4:51-61,AnnRarrow), [Test10278.hs:4:56-57]),
24 ((Test10278.hs:5:1-26,AnnEqual), [Test10278.hs:5:16]),
25 ((Test10278.hs:5:1-26,AnnFunId), [Test10278.hs:5:1-14]),
26 ((Test10278.hs:5:1-26,AnnSemi), [Test10278.hs:7:1]),
27 ((Test10278.hs:(7,1)-(11,33),AnnDcolon), [Test10278.hs:7:17-18]),
28 ((Test10278.hs:(7,1)-(11,33),AnnSemi), [Test10278.hs:12:1]),
29 ((Test10278.hs:7:20-39,AnnCloseP), [Test10278.hs:7:39, Test10278.hs:7:39]),
30 ((Test10278.hs:7:20-39,AnnDarrow), [Test10278.hs:7:41-42]),
31 ((Test10278.hs:7:20-39,AnnOpenP), [Test10278.hs:7:20, Test10278.hs:7:20]),
32 ((Test10278.hs:7:21-24,AnnComma), [Test10278.hs:7:25]),
33 ((Test10278.hs:(8,19)-(10,58),AnnCloseP), [Test10278.hs:10:58]),
34 ((Test10278.hs:(8,19)-(10,58),AnnOpenP), [Test10278.hs:8:19]),
35 ((Test10278.hs:(8,19)-(10,58),AnnRarrow), [Test10278.hs:11:23-24]),
36 ((Test10278.hs:(8,19)-(11,33),AnnRarrow), [Test10278.hs:11:23-24]),
37 ((Test10278.hs:(8,20)-(10,57),AnnDot), [Test10278.hs:8:30]),
38 ((Test10278.hs:(8,20)-(10,57),AnnForall), [Test10278.hs:8:20-25]),
39 ((Test10278.hs:(8,32)-(10,57),AnnDot), [Test10278.hs:8:43]),
40 ((Test10278.hs:(8,32)-(10,57),AnnForall), [Test10278.hs:8:32-37]),
41 ((Test10278.hs:9:27-50,AnnRarrow), [Test10278.hs:10:31-32]),
42 ((Test10278.hs:(9,27)-(10,57),AnnRarrow), [Test10278.hs:10:31-32]),
43 ((Test10278.hs:9:38-50,AnnCloseP), [Test10278.hs:9:50]),
44 ((Test10278.hs:9:38-50,AnnOpenP), [Test10278.hs:9:38]),
45 ((Test10278.hs:10:45-57,AnnCloseP), [Test10278.hs:10:57]),
46 ((Test10278.hs:10:45-57,AnnOpenP), [Test10278.hs:10:45]),
47 ((Test10278.hs:11:26,AnnRarrow), [Test10278.hs:11:28-29]),
48 ((Test10278.hs:11:26-33,AnnRarrow), [Test10278.hs:11:28-29]),
49 ((Test10278.hs:11:31-33,AnnCloseS), [Test10278.hs:11:33]),
50 ((Test10278.hs:11:31-33,AnnOpenS), [Test10278.hs:11:31]),
51 ((Test10278.hs:12:1-47,AnnEqual), [Test10278.hs:12:22]),
52 ((Test10278.hs:12:1-47,AnnFunId), [Test10278.hs:12:1-15]),
53 ((Test10278.hs:12:1-47,AnnSemi), [Test10278.hs:14:1]),
54 ((Test10278.hs:12:35-44,AnnCloseP), [Test10278.hs:12:44]),
55 ((Test10278.hs:12:35-44,AnnOpenP), [Test10278.hs:12:35]),
56 ((Test10278.hs:(14,1)-(17,80),AnnData), [Test10278.hs:14:1-4]),
57 ((Test10278.hs:(14,1)-(17,80),AnnSemi), [Test10278.hs:21:1]),
58 ((Test10278.hs:(14,1)-(17,80),AnnWhere), [Test10278.hs:14:21-25]),
59 ((Test10278.hs:15:5-64,AnnDcolon), [Test10278.hs:15:11-12]),
60 ((Test10278.hs:15:5-64,AnnSemi), [Test10278.hs:16:5]),
61 ((Test10278.hs:15:14-64,AnnDot), [Test10278.hs:15:23]),
62 ((Test10278.hs:15:14-64,AnnForall), [Test10278.hs:15:14-19]),
63 ((Test10278.hs:15:25-40,AnnCloseP), [Test10278.hs:15:40, Test10278.hs:15:40]),
64 ((Test10278.hs:15:25-40,AnnDarrow), [Test10278.hs:15:42-43]),
65 ((Test10278.hs:15:25-40,AnnOpenP), [Test10278.hs:15:25, Test10278.hs:15:25]),
66 ((Test10278.hs:15:27-30,AnnComma), [Test10278.hs:15:31]),
67 ((Test10278.hs:15:45-46,AnnBang), [Test10278.hs:15:45]),
68 ((Test10278.hs:15:45-46,AnnRarrow), [Test10278.hs:15:48-49]),
69 ((Test10278.hs:15:45-64,AnnRarrow), [Test10278.hs:15:48-49]),
70 ((Test10278.hs:16:5-64,AnnDcolon), [Test10278.hs:16:11-12]),
71 ((Test10278.hs:16:5-64,AnnSemi), [Test10278.hs:17:5]),
72 ((Test10278.hs:16:14-64,AnnDot), [Test10278.hs:16:23]),
73 ((Test10278.hs:16:14-64,AnnForall), [Test10278.hs:16:14-19]),
74 ((Test10278.hs:16:25-40,AnnCloseP), [Test10278.hs:16:40, Test10278.hs:16:40]),
75 ((Test10278.hs:16:25-40,AnnDarrow), [Test10278.hs:16:42-43]),
76 ((Test10278.hs:16:25-40,AnnOpenP), [Test10278.hs:16:25, Test10278.hs:16:25]),
77 ((Test10278.hs:16:27-30,AnnComma), [Test10278.hs:16:31]),
78 ((Test10278.hs:16:45-46,AnnBang), [Test10278.hs:16:45]),
79 ((Test10278.hs:16:45-46,AnnRarrow), [Test10278.hs:16:48-49]),
80 ((Test10278.hs:16:45-64,AnnRarrow), [Test10278.hs:16:48-49]),
81 ((Test10278.hs:17:5-80,AnnDcolon), [Test10278.hs:17:12-13]),
82 ((Test10278.hs:17:15-20,AnnCloseP), [Test10278.hs:17:20]),
83 ((Test10278.hs:17:15-20,AnnDarrow), [Test10278.hs:17:22-23]),
84 ((Test10278.hs:17:15-20,AnnOpenP), [Test10278.hs:17:15]),
85 ((Test10278.hs:17:25-80,AnnDot), [Test10278.hs:17:34]),
86 ((Test10278.hs:17:25-80,AnnForall), [Test10278.hs:17:25-30]),
87 ((Test10278.hs:17:36-51,AnnCloseP), [Test10278.hs:17:51, Test10278.hs:17:51]),
88 ((Test10278.hs:17:36-51,AnnDarrow), [Test10278.hs:17:53-54]),
89 ((Test10278.hs:17:36-51,AnnOpenP), [Test10278.hs:17:36, Test10278.hs:17:36]),
90 ((Test10278.hs:17:38-41,AnnComma), [Test10278.hs:17:42]),
91 ((Test10278.hs:17:56-57,AnnBang), [Test10278.hs:17:56]),
92 ((Test10278.hs:17:56-57,AnnRarrow), [Test10278.hs:17:59-60]),
93 ((Test10278.hs:17:56-80,AnnRarrow), [Test10278.hs:17:59-60]),
94 ((Test10278.hs:17:62,AnnRarrow), [Test10278.hs:17:64-65]),
95 ((Test10278.hs:17:62-80,AnnRarrow), [Test10278.hs:17:64-65]),
96 ((<no location info>,AnnEofPos), [Test10278.hs:21:1])
97 ]
98