check-api-annotations checks for annotation preceding its span
[ghc.git] / testsuite / tests / ghc-api / annotations / T10307.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 ((Test10307.hs:1:1,AnnModule), [Test10307.hs:2:1-6]),
13 ((Test10307.hs:1:1,AnnWhere), [Test10307.hs:2:18-22]),
14 ((Test10307.hs:(4,1)-(6,34),AnnClass), [Test10307.hs:4:1-5]),
15 ((Test10307.hs:(4,1)-(6,34),AnnSemi), [Test10307.hs:7:1]),
16 ((Test10307.hs:(4,1)-(6,34),AnnWhere), [Test10307.hs:4:18-22]),
17 ((Test10307.hs:5:3-34,AnnDcolon), [Test10307.hs:5:31-32]),
18 ((Test10307.hs:5:3-34,AnnSemi), [Test10307.hs:6:3]),
19 ((Test10307.hs:5:3-34,AnnType), [Test10307.hs:5:3-6]),
20 ((Test10307.hs:6:3-34,AnnEqual), [Test10307.hs:6:31]),
21 ((Test10307.hs:6:3-34,AnnType), [Test10307.hs:6:3-6]),
22 ((Test10307.hs:6:8-34,AnnEqual), [Test10307.hs:6:31]),
23 ((Test10307.hs:6:33-34,AnnCloseP), [Test10307.hs:6:34]),
24 ((Test10307.hs:6:33-34,AnnOpenP), [Test10307.hs:6:33]),
25 ((<no location info>,AnnEofPos), [Test10307.hs:7:1])
26 ]
27