File: jsxInvalidEsprimaTestSuite.errors.txt

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (312 lines) | stat: -rw-r--r-- 14,181 bytes parent folder | download | duplicates (3)
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
tests/cases/conformance/jsx/1.tsx(3,1): error TS1128: Declaration or statement expected.
tests/cases/conformance/jsx/1.tsx(3,3): error TS1109: Expression expected.
tests/cases/conformance/jsx/1.tsx(3,4): error TS1109: Expression expected.
tests/cases/conformance/jsx/10.tsx(1,2): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/10.tsx(1,5): error TS1003: Identifier expected.
tests/cases/conformance/jsx/10.tsx(1,10): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/10.tsx(1,13): error TS1005: '>' expected.
tests/cases/conformance/jsx/10.tsx(1,14): error TS2304: Cannot find name 'c'.
tests/cases/conformance/jsx/10.tsx(1,16): error TS1109: Expression expected.
tests/cases/conformance/jsx/11.tsx(1,2): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/11.tsx(1,10): error TS17002: Expected corresponding JSX closing tag for 'a.b.c'.
tests/cases/conformance/jsx/12.tsx(1,1): error TS1109: Expression expected.
tests/cases/conformance/jsx/12.tsx(1,2): error TS1109: Expression expected.
tests/cases/conformance/jsx/12.tsx(1,5): error TS1109: Expression expected.
tests/cases/conformance/jsx/12.tsx(1,7): error TS1128: Declaration or statement expected.
tests/cases/conformance/jsx/12.tsx(1,8): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/12.tsx(1,10): error TS1109: Expression expected.
tests/cases/conformance/jsx/13.tsx(1,2): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/13.tsx(1,4): error TS1003: Identifier expected.
tests/cases/conformance/jsx/13.tsx(1,7): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/13.tsx(1,9): error TS1003: Identifier expected.
tests/cases/conformance/jsx/14.tsx(1,3): error TS1003: Identifier expected.
tests/cases/conformance/jsx/14.tsx(1,4): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/jsx/14.tsx(1,9): error TS1109: Expression expected.
tests/cases/conformance/jsx/14.tsx(1,11): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/14.tsx(1,13): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/jsx/14.tsx(1,18): error TS1109: Expression expected.
tests/cases/conformance/jsx/15.tsx(1,3): error TS1003: Identifier expected.
tests/cases/conformance/jsx/15.tsx(1,11): error TS1109: Expression expected.
tests/cases/conformance/jsx/15.tsx(1,13): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/15.tsx(1,22): error TS1109: Expression expected.
tests/cases/conformance/jsx/16.tsx(1,2): error TS17008: JSX element 'a' has no corresponding closing tag.
tests/cases/conformance/jsx/16.tsx(1,10): error TS1005: '</' expected.
tests/cases/conformance/jsx/17.tsx(1,2): error TS17008: JSX element 'a' has no corresponding closing tag.
tests/cases/conformance/jsx/17.tsx(1,10): error TS1005: '</' expected.
tests/cases/conformance/jsx/18.tsx(1,30): error TS2657: JSX expressions must have one parent element.
tests/cases/conformance/jsx/19.tsx(1,9): error TS2657: JSX expressions must have one parent element.
tests/cases/conformance/jsx/2.tsx(1,3): error TS1003: Identifier expected.
tests/cases/conformance/jsx/20.tsx(1,10): error TS1005: '}' expected.
tests/cases/conformance/jsx/20.tsx(1,11): error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
tests/cases/conformance/jsx/21.tsx(1,20): error TS1003: Identifier expected.
tests/cases/conformance/jsx/22.tsx(1,15): error TS1003: Identifier expected.
tests/cases/conformance/jsx/22.tsx(1,21): error TS1109: Expression expected.
tests/cases/conformance/jsx/23.tsx(1,7): error TS1005: '...' expected.
tests/cases/conformance/jsx/23.tsx(1,7): error TS2304: Cannot find name 'props'.
tests/cases/conformance/jsx/24.tsx(1,17): error TS1005: '>' expected.
tests/cases/conformance/jsx/24.tsx(1,18): error TS1128: Declaration or statement expected.
tests/cases/conformance/jsx/24.tsx(1,21): error TS2304: Cannot find name 'props'.
tests/cases/conformance/jsx/24.tsx(1,27): error TS1109: Expression expected.
tests/cases/conformance/jsx/24.tsx(1,28): error TS1109: Expression expected.
tests/cases/conformance/jsx/25.tsx(1,10): error TS2304: Cannot find name 'props'.
tests/cases/conformance/jsx/25.tsx(1,28): error TS1005: '>' expected.
tests/cases/conformance/jsx/25.tsx(1,29): error TS1128: Declaration or statement expected.
tests/cases/conformance/jsx/25.tsx(1,32): error TS2304: Cannot find name 'props'.
tests/cases/conformance/jsx/25.tsx(1,38): error TS1109: Expression expected.
tests/cases/conformance/jsx/25.tsx(1,39): error TS1109: Expression expected.
tests/cases/conformance/jsx/26.tsx(1,4): error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
tests/cases/conformance/jsx/27.tsx(1,5): error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
tests/cases/conformance/jsx/28.tsx(1,2): error TS17008: JSX element 'a' has no corresponding closing tag.
tests/cases/conformance/jsx/28.tsx(1,6): error TS1145: '{' or JSX element expected.
tests/cases/conformance/jsx/28.tsx(2,1): error TS1005: '</' expected.
tests/cases/conformance/jsx/29.tsx(1,7): error TS1003: Identifier expected.
tests/cases/conformance/jsx/29.tsx(2,1): error TS1005: '</' expected.
tests/cases/conformance/jsx/3.tsx(1,1): error TS1109: Expression expected.
tests/cases/conformance/jsx/3.tsx(1,2): error TS1109: Expression expected.
tests/cases/conformance/jsx/3.tsx(1,3): error TS2304: Cannot find name 'a'.
tests/cases/conformance/jsx/3.tsx(1,6): error TS1109: Expression expected.
tests/cases/conformance/jsx/3.tsx(1,7): error TS1109: Expression expected.
tests/cases/conformance/jsx/30.tsx(1,4): error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
tests/cases/conformance/jsx/31.tsx(1,4): error TS1003: Identifier expected.
tests/cases/conformance/jsx/4.tsx(1,6): error TS1145: '{' or JSX element expected.
tests/cases/conformance/jsx/5.tsx(1,2): error TS17008: JSX element 'a' has no corresponding closing tag.
tests/cases/conformance/jsx/5.tsx(1,5): error TS1005: '</' expected.
tests/cases/conformance/jsx/6.tsx(1,6): error TS17002: Expected corresponding JSX closing tag for 'a'.
tests/cases/conformance/jsx/7.tsx(1,13): error TS1002: Unterminated string literal.
tests/cases/conformance/jsx/8.tsx(1,8): error TS17002: Expected corresponding JSX closing tag for 'a:b'.
tests/cases/conformance/jsx/9.tsx(1,2): error TS2304: Cannot find name 'a:b'.
tests/cases/conformance/jsx/9.tsx(1,2): error TS2633: JSX property access expressions cannot include JSX namespace names
tests/cases/conformance/jsx/9.tsx(1,10): error TS2304: Cannot find name 'a:b'.


==== tests/cases/conformance/jsx/1.tsx (3 errors) ====
    declare var React: any;
    
    </>;
    ~~
!!! error TS1128: Declaration or statement expected.
      ~
!!! error TS1109: Expression expected.
       ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/2.tsx (1 errors) ====
    <a: />;
      ~
!!! error TS1003: Identifier expected.
==== tests/cases/conformance/jsx/3.tsx (5 errors) ====
    <:a />;
    ~
!!! error TS1109: Expression expected.
     ~
!!! error TS1109: Expression expected.
      ~
!!! error TS2304: Cannot find name 'a'.
         ~
!!! error TS1109: Expression expected.
          ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/4.tsx (1 errors) ====
    <a b=d />;
         ~
!!! error TS1145: '{' or JSX element expected.
==== tests/cases/conformance/jsx/5.tsx (2 errors) ====
    <a>;
     ~
!!! error TS17008: JSX element 'a' has no corresponding closing tag.
        
!!! error TS1005: '</' expected.
==== tests/cases/conformance/jsx/6.tsx (1 errors) ====
    <a></b>;
         ~
!!! error TS17002: Expected corresponding JSX closing tag for 'a'.
==== tests/cases/conformance/jsx/7.tsx (1 errors) ====
    <a foo="bar;
                
!!! error TS1002: Unterminated string literal.
==== tests/cases/conformance/jsx/8.tsx (1 errors) ====
    <a:b></b>;
           ~
!!! error TS17002: Expected corresponding JSX closing tag for 'a:b'.
==== tests/cases/conformance/jsx/9.tsx (3 errors) ====
    <a:b.c></a:b.c>;
     ~~~
!!! error TS2304: Cannot find name 'a:b'.
     ~~~
!!! error TS2633: JSX property access expressions cannot include JSX namespace names
             ~~~
!!! error TS2304: Cannot find name 'a:b'.
==== tests/cases/conformance/jsx/10.tsx (6 errors) ====
    <a.b:c></a.b:c>;
     ~
!!! error TS2304: Cannot find name 'a'.
        ~
!!! error TS1003: Identifier expected.
             ~
!!! error TS2304: Cannot find name 'a'.
                ~
!!! error TS1005: '>' expected.
                 ~
!!! error TS2304: Cannot find name 'c'.
                   ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/11.tsx (2 errors) ====
    <a.b.c></a>;
     ~
!!! error TS2304: Cannot find name 'a'.
             ~
!!! error TS17002: Expected corresponding JSX closing tag for 'a.b.c'.
==== tests/cases/conformance/jsx/12.tsx (6 errors) ====
    <.a></.a>;
    ~
!!! error TS1109: Expression expected.
     ~
!!! error TS1109: Expression expected.
        ~~
!!! error TS1109: Expression expected.
          ~
!!! error TS1128: Declaration or statement expected.
           ~
!!! error TS2304: Cannot find name 'a'.
             ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/13.tsx (4 errors) ====
    <a.></a.>;
     ~
!!! error TS2304: Cannot find name 'a'.
       ~
!!! error TS1003: Identifier expected.
          ~
!!! error TS2304: Cannot find name 'a'.
            ~
!!! error TS1003: Identifier expected.
==== tests/cases/conformance/jsx/14.tsx (6 errors) ====
    <a[foo]></a[foo]>;
      ~
!!! error TS1003: Identifier expected.
       ~~~
!!! error TS2304: Cannot find name 'foo'.
            ~~
!!! error TS1109: Expression expected.
              ~
!!! error TS2304: Cannot find name 'a'.
                ~~~
!!! error TS2304: Cannot find name 'foo'.
                     ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/15.tsx (4 errors) ====
    <a['foo']></a['foo']>;
      ~
!!! error TS1003: Identifier expected.
              ~~
!!! error TS1109: Expression expected.
                ~
!!! error TS2304: Cannot find name 'a'.
                         ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/16.tsx (2 errors) ====
    <a><a />;
     ~
!!! error TS17008: JSX element 'a' has no corresponding closing tag.
             
!!! error TS1005: '</' expected.
==== tests/cases/conformance/jsx/17.tsx (2 errors) ====
    <a b={}>;
     ~
!!! error TS17008: JSX element 'a' has no corresponding closing tag.
             
!!! error TS1005: '</' expected.
==== tests/cases/conformance/jsx/18.tsx (1 errors) ====
    var x = /* Leading trivia */ <div>one</div><div>two</div>;;
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2657: JSX expressions must have one parent element.
==== tests/cases/conformance/jsx/19.tsx (1 errors) ====
    var x = <div>one</div> /* intervening comment */ <div>two</div>;;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2657: JSX expressions must have one parent element.
==== tests/cases/conformance/jsx/20.tsx (2 errors) ====
    <a>{"str";}</a>;
             ~
!!! error TS1005: '}' expected.
              ~
!!! error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
==== tests/cases/conformance/jsx/21.tsx (1 errors) ====
    <span className="a", id="b" />;
                       ~
!!! error TS1003: Identifier expected.
==== tests/cases/conformance/jsx/22.tsx (2 errors) ====
    <div className"app">;
                  ~~~~~
!!! error TS1003: Identifier expected.
                        ~
!!! error TS1109: Expression expected.
==== tests/cases/conformance/jsx/23.tsx (2 errors) ====
    <div {props} />;
          ~~~~~
!!! error TS1005: '...' expected.
          ~~~~~
!!! error TS2304: Cannot find name 'props'.
    
==== tests/cases/conformance/jsx/24.tsx (5 errors) ====
    <div>stuff</div {...props}>;
                    ~
!!! error TS1005: '>' expected.
                     ~~~
!!! error TS1128: Declaration or statement expected.
                        ~~~~~
!!! error TS2304: Cannot find name 'props'.
                              ~
!!! error TS1109: Expression expected.
                               ~
!!! error TS1109: Expression expected.
    
==== tests/cases/conformance/jsx/25.tsx (6 errors) ====
    <div {...props}>stuff</div {...props}>;
             ~~~~~
!!! error TS2304: Cannot find name 'props'.
                               ~
!!! error TS1005: '>' expected.
                                ~~~
!!! error TS1128: Declaration or statement expected.
                                   ~~~~~
!!! error TS2304: Cannot find name 'props'.
                                         ~
!!! error TS1109: Expression expected.
                                          ~
!!! error TS1109: Expression expected.
    
    
==== tests/cases/conformance/jsx/26.tsx (1 errors) ====
    <a>></a>;
       ~
!!! error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
    
==== tests/cases/conformance/jsx/27.tsx (1 errors) ====
    <a> ></a>;
        ~
!!! error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
    
==== tests/cases/conformance/jsx/28.tsx (3 errors) ====
    <a b=}>;
     ~
!!! error TS17008: JSX element 'a' has no corresponding closing tag.
         ~
!!! error TS1145: '{' or JSX element expected.
    
    
!!! error TS1005: '</' expected.
==== tests/cases/conformance/jsx/29.tsx (2 errors) ====
    <a b=<}>;
          ~
!!! error TS1003: Identifier expected.
    
    
!!! error TS1005: '</' expected.
==== tests/cases/conformance/jsx/30.tsx (1 errors) ====
    <a>}</a>;
       ~
!!! error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
    
==== tests/cases/conformance/jsx/31.tsx (1 errors) ====
    <a .../*hai*/asdf/>;
       ~~~
!!! error TS1003: Identifier expected.