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