summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T14189.stderr
blob: b2e294562bf6f629d667fc2ec52cd62ecbaa1517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224

==================== Renamer ====================

(Just
 ((,,,)
  (HsGroup
   (NoExtField)
   (XValBindsLR
    (NValBinds
     []
     []))
   []
   [(TyClGroup
     (NoExtField)
     [(L
       (SrcSpanAnn (EpAnn
                    (Anchor
                     { T14189.hs:6:1-42 }
                     (UnchangedAnchor))
                    (AnnListItem
                     [])
                    (EpaComments
                     [])) { T14189.hs:6:1-42 })
       (DataDecl
        (DataDeclRn
         (True)
         {NameSet:
          [{Name: GHC.Types.Int}]})
        (L
         (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:6-11 })
         {Name: T14189.MyType})
        (HsQTvs
         []
         [])
        (Prefix)
        (HsDataDefn
         (NoExtField)
         (DataType)
         (Nothing)
         (Nothing)
         (Nothing)
         [(L
           (SrcSpanAnn (EpAnn
                        (Anchor
                         { T14189.hs:6:15-20 }
                         (UnchangedAnchor))
                        (AnnListItem
                         [(AddVbarAnn
                           (EpaSpan { T14189.hs:6:22 }))])
                        (EpaComments
                         [])) { T14189.hs:6:15-20 })
           (ConDeclH98
            (EpAnnNotUsed)
            (L
             (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:15-16 })
             {Name: T14189.MT})
            (False)
            []
            (Nothing)
            (PrefixCon
             []
             [(HsScaled
               (HsLinearArrow
                (HsPct1
                 (L
                  (NoTokenLoc)
                  (HsTok))
                 (L
                  (NoTokenLoc)
                  (HsNormalTok))))
               (L
                (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:18-20 })
                (HsTyVar
                 (EpAnnNotUsed)
                 (NotPromoted)
                 (L
                  (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:18-20 })
                  {Name: GHC.Types.Int}))))])
            (Nothing)))
         ,(L
           (SrcSpanAnn (EpAnn
                        (Anchor
                         { T14189.hs:6:24-25 }
                         (UnchangedAnchor))
                        (AnnListItem
                         [(AddVbarAnn
                           (EpaSpan { T14189.hs:6:27 }))])
                        (EpaComments
                         [])) { T14189.hs:6:24-25 })
           (ConDeclH98
            (EpAnnNotUsed)
            (L
             (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:24-25 })
             {Name: T14189.NT})
            (False)
            []
            (Nothing)
            (PrefixCon
             []
             [])
            (Nothing)))
         ,(L
           (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:29-42 })
           (ConDeclH98
            (EpAnnNotUsed)
            (L
             (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:29 })
             {Name: T14189.F})
            (False)
            []
            (Nothing)
            (RecCon
             (L
              (SrcSpanAnn (EpAnn
                           (Anchor
                            { T14189.hs:6:31 }
                            (UnchangedAnchor))
                           (AnnList
                            (Just
                             (Anchor
                              { T14189.hs:6:33-40 }
                              (UnchangedAnchor)))
                            (Just
                             (AddEpAnn AnnOpenC (EpaSpan { T14189.hs:6:31 })))
                            (Just
                             (AddEpAnn AnnCloseC (EpaSpan { T14189.hs:6:42 })))
                            []
                            [])
                           (EpaComments
                            [])) { T14189.hs:6:31-42 })
              [(L
                (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:33-40 })
                (ConDeclField
                 (EpAnnNotUsed)
                 [(L
                   (SrcSpanAnn
                    (EpAnnNotUsed)
                    { T14189.hs:6:33 })
                   (FieldOcc
                    {Name: T14189.f}
                    (L
                     (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:33 })
                     (Unqual
                      {OccName: f}))))]
                 (L
                  (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:38-40 })
                  (HsTyVar
                   (EpAnnNotUsed)
                   (NotPromoted)
                   (L
                    (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:6:38-40 })
                    {Name: GHC.Types.Int})))
                 (Nothing)))]))
            (Nothing)))]
         [])))]
     []
     []
     [])]
   []
   []
   []
   []
   []
   []
   []
   [])
  [(L
    (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:1:8-13 })
    (ImportDecl
     (XImportDeclPass
      (EpAnnNotUsed)
      (NoSourceText)
      (True))
     (L
      (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:1:8-13 })
      {ModuleName: Prelude})
     (NoPkgQual)
     (NotBoot)
     (False)
     (NotQualified)
     (Nothing)
     (Nothing)))]
  (Just
   [((,)
     (L
      (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:3:3-15 })
      (IEThingWith
       [(L
         { T14189.hs:3:11 }
         (FieldLabel
          {FastString: "f"}
          (NoDuplicateRecordFields)
          (FieldSelectors)
          {Name: T14189.f}))]
       (L
        (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:3:3-8 })
        (IEName
         (NoExtField)
         (L
          (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:3:3-8 })
          {Name: T14189.MyType})))
       (NoIEWildcard)
       [(L
         (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:3:13-14 })
         (IEName
          (NoExtField)
          (L
           (SrcSpanAnn (EpAnnNotUsed) { T14189.hs:3:13-14 })
           {Name: T14189.NT})))]))
     [(AvailTC
       {Name: T14189.MyType}
       [(NormalGreName
         {Name: T14189.MyType})
       ,(NormalGreName
         {Name: T14189.NT})
       ,(FieldGreName
         (FieldLabel
          {FastString: "f"}
          (NoDuplicateRecordFields)
          (FieldSelectors)
          {Name: T14189.f}))])])])
  (Nothing)))