1
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(3,1): error TS1109: Expression expected.
2
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(3,3): error TS1161: Unterminated regular expression literal.
3
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(4,2): error TS2304: Cannot find name 'a'.
4
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(4,3): error TS1005: ';' expected.
5
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(4,6): error TS1161: Unterminated regular expression literal.
1
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(3,1): error TS1128: Declaration or statement expected.
2
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(3,3): error TS1109: Expression expected.
3
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(3,4): error TS1109: Expression expected.
4
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(4,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
5
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(4,3): error TS1003: Identifier expected.
6
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(5,1): error TS1109: Expression expected.
6
7
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(5,2): error TS1109: Expression expected.
7
8
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(5,3): error TS2304: Cannot find name 'a'.
8
9
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(5,6): error TS1109: Expression expected.
@@ -23,44 +24,47 @@ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,1): error TS1003:
23
24
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,2): error TS2304: Cannot find name 'a'.
24
25
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,3): error TS1005: ';' expected.
25
26
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,4): error TS2304: Cannot find name 'b'.
26
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,4): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
27
27
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,6): error TS1109: Expression expected.
28
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,8): error TS1161: Unterminated regular expression literal.
29
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,2): error TS2304: Cannot find name 'a'.
30
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,3): error TS1005: ';' expected.
31
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,4): error TS2304: Cannot find name 'b'.
32
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,4): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
33
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,8): error TS1109: Expression expected.
34
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,10): error TS1161: Unterminated regular expression literal.
28
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,8): error TS2304: Cannot find name 'b'.
29
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(10,10): error TS1109: Expression expected.
30
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
31
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,3): error TS1003: Identifier expected.
32
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,5): error TS1003: Identifier expected.
33
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,11): error TS1005: '>' expected.
34
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,12): error TS2304: Cannot find name 'b'.
35
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(11,16): error TS1109: Expression expected.
36
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
35
37
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,2): error TS2304: Cannot find name 'a'.
36
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,5): error TS1005: ';' expected.
37
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2304: Cannot find name 'c'.
38
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
39
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
40
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
41
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
42
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
43
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,6): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
44
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,8): error TS1109: Expression expected.
45
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,10): error TS1161: Unterminated regular expression literal.
38
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,5): error TS1003: Identifier expected.
39
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,13): error TS1005: '>' expected.
40
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,14): error TS2304: Cannot find name 'c'.
41
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(12,16): error TS1109: Expression expected.
42
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(13,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
46
43
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(13,2): error TS2304: Cannot find name 'a'.
47
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(13,8): error TS1109: Expression expected .
48
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(13,10 ): error TS1161: Unterminated regular expression literal .
44
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(13,8): error TS17002: Expected corresponding JSX closing tag for 'a.b.c' .
45
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,1 ): error TS1109: Expression expected .
49
46
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,2): error TS1109: Expression expected.
50
47
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,5): error TS1109: Expression expected.
51
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,7): error TS1161: Unterminated regular expression literal.
48
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,7): error TS1128: Declaration or statement expected.
49
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,8): error TS2304: Cannot find name 'a'.
50
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(14,10): error TS1109: Expression expected.
51
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
52
52
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,2): error TS2304: Cannot find name 'a'.
53
53
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,4): error TS1003: Identifier expected.
54
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,5 ): error TS1109: Expression expected.
55
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,7 ): error TS1161: Unterminated regular expression literal .
56
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,2 ): error TS2304: Cannot find name 'a' .
54
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(15,9 ): error TS1003: Identifier expected.
55
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,1 ): error TS2602: The global type 'JSX.Element' must exist when using JSX .
56
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,3 ): error TS1003: Identifier expected .
57
57
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,4): error TS2304: Cannot find name 'foo'.
58
58
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,9): error TS1109: Expression expected.
59
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,11): error TS1161: Unterminated regular expression literal.
60
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,2): error TS2304: Cannot find name 'a'.
59
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,11): error TS2304: Cannot find name 'a'.
60
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,13): error TS2304: Cannot find name 'foo'.
61
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(16,18): error TS1109: Expression expected.
62
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
63
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,3): error TS1003: Identifier expected.
61
64
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,11): error TS1109: Expression expected.
62
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,13): error TS1161: Unterminated regular expression literal.
63
- tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(18,2): error TS2304: Cannot find name 'a'.
65
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,13): error TS2304: Cannot find name 'a'.
66
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(17,22): error TS1109: Expression expected.
67
+ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(18,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
64
68
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(18,4): error TS2602: The global type 'JSX.Element' must exist when using JSX.
65
69
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(19,1): error TS2602: The global type 'JSX.Element' must exist when using JSX.
66
70
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(20,9): error TS2602: The global type 'JSX.Element' must exist when using JSX.
@@ -96,22 +100,24 @@ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(35,4): error TS1003:
96
100
tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(35,21): error TS17002: Expected corresponding JSX closing tag for 'a'.
97
101
98
102
99
- ==== tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx (96 errors) ====
103
+ ==== tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx (100 errors) ====
100
104
declare var React: any;
101
105
102
106
</>;
103
- ~
107
+ ~~
108
+ !!! error TS1128: Declaration or statement expected.
109
+ ~
110
+ !!! error TS1109: Expression expected.
111
+ ~
104
112
!!! error TS1109: Expression expected.
105
-
106
- !!! error TS1161: Unterminated regular expression literal.
107
113
<a: />;
108
- ~
109
- !!! error TS2304: Cannot find name 'a' .
114
+ ~~~~~ ~
115
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX .
110
116
~
111
- !!! error TS1005: ';' expected.
112
-
113
- !!! error TS1161: Unterminated regular expression literal.
117
+ !!! error TS1003: Identifier expected.
114
118
<:a />;
119
+ ~
120
+ !!! error TS1109: Expression expected.
115
121
~
116
122
!!! error TS1109: Expression expected.
117
123
~
@@ -157,105 +163,96 @@ tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx(35,21): error TS17002
157
163
!!! error TS1005: ';' expected.
158
164
~
159
165
!!! error TS2304: Cannot find name 'b'.
160
- ~~~~~~~
161
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
162
- ~
166
+ ~~
167
+ !!! error TS1109: Expression expected.
168
+ ~
169
+ !!! error TS2304: Cannot find name 'b'.
170
+ ~
163
171
!!! error TS1109: Expression expected.
164
-
165
- !!! error TS1161: Unterminated regular expression literal.
166
172
<a:b.c></a:b.c>;
167
- ~
168
- !!! error TS2304: Cannot find name 'a' .
173
+ ~~~~~~ ~
174
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX .
169
175
~
170
- !!! error TS1005: ';' expected.
171
- ~
176
+ !!! error TS1003: Identifier expected.
177
+ ~
178
+ !!! error TS1003: Identifier expected.
179
+ ~
180
+ !!! error TS1005: '>' expected.
181
+ ~
172
182
!!! error TS2304: Cannot find name 'b'.
173
- ~~~~~~~~~~~~~
174
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
175
- ~
183
+ ~
176
184
!!! error TS1109: Expression expected.
177
-
178
- !!! error TS1161: Unterminated regular expression literal.
179
185
<a.b:c></a.b:c>;
186
+ ~~~~~~~
187
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
180
188
~
181
189
!!! error TS2304: Cannot find name 'a'.
182
190
~
183
- !!! error TS1005: ';' expected.
184
- ~
191
+ !!! error TS1003: Identifier expected.
192
+ ~
193
+ !!! error TS1005: '>' expected.
194
+ ~
185
195
!!! error TS2304: Cannot find name 'c'.
186
- ~~~~~~~~~~~
187
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
188
- ~~~~~~~~~~~
189
- ~~~~~~~~~~~
190
- ~~~~~~~~~~~
191
- ~~~~~~~~~~~
192
- ~~~~~~~~~~~
193
- ~
196
+ ~
194
197
!!! error TS1109: Expression expected.
195
-
196
- !!! error TS1161: Unterminated regular expression literal.
197
198
<a.b.c></a>;
198
- ~~~~~~~~~~~~
199
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
200
- ~~~~~~~~~~~~
201
- ~~~~~~~~~~~~
202
- ~~~~~~~~~~~~
203
- ~~~~~~~~~~~~
199
+ ~~~~~~~
200
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
204
201
~
205
202
!!! error TS2304: Cannot find name 'a'.
206
- ~
207
- !!! error TS1109: Expression expected.
208
-
209
- !!! error TS1161: Unterminated regular expression literal.
203
+ ~~~~
204
+ !!! error TS17002: Expected corresponding JSX closing tag for 'a.b.c'.
210
205
<.a></.a>;
211
- ~~~~~~~~~~
212
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
213
- ~~~~~~~~~~
214
- ~~~~~~~~~~
215
- ~~~~~~~~~~
206
+ ~
207
+ !!! error TS1109: Expression expected.
216
208
~
217
209
!!! error TS1109: Expression expected.
218
- ~
210
+ ~~
211
+ !!! error TS1109: Expression expected.
212
+ ~
213
+ !!! error TS1128: Declaration or statement expected.
214
+ ~
215
+ !!! error TS2304: Cannot find name 'a'.
216
+ ~
219
217
!!! error TS1109: Expression expected.
220
-
221
- !!! error TS1161: Unterminated regular expression literal.
222
218
<a.></a.>;
223
- ~~~~~~~~~~
224
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
225
- ~~~~~~~~~~
226
- ~~~~~~~~~~
219
+ ~~~~
220
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
227
221
~
228
222
!!! error TS2304: Cannot find name 'a'.
229
223
~
230
224
!!! error TS1003: Identifier expected.
231
- ~
232
- !!! error TS1109: Expression expected.
233
-
234
- !!! error TS1161: Unterminated regular expression literal.
225
+ ~
226
+ !!! error TS1003: Identifier expected.
235
227
<a[foo]></a[foo]>;
236
- ~~~~~~~~~~~~~~~~~~
237
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
238
- ~~~~~~~~~~~~~~~~~~
239
- ~
240
- !!! error TS2304: Cannot find name 'a'.
228
+ ~~
229
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
230
+ ~
231
+ !!! error TS1003: Identifier expected.
241
232
~~~
242
233
!!! error TS2304: Cannot find name 'foo'.
243
- ~
234
+ ~~
235
+ !!! error TS1109: Expression expected.
236
+ ~
237
+ !!! error TS2304: Cannot find name 'a'.
238
+ ~~~
239
+ !!! error TS2304: Cannot find name 'foo'.
240
+ ~
244
241
!!! error TS1109: Expression expected.
245
-
246
- !!! error TS1161: Unterminated regular expression literal.
247
242
<a['foo']></a['foo']>;
248
- ~~~~~~~~~~~~~~~~~~~~~~
249
- !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
250
- ~
243
+ ~~
244
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
245
+ ~
246
+ !!! error TS1003: Identifier expected.
247
+ ~~
248
+ !!! error TS1109: Expression expected.
249
+ ~
251
250
!!! error TS2304: Cannot find name 'a'.
252
- ~
251
+ ~
253
252
!!! error TS1109: Expression expected.
254
-
255
- !!! error TS1161: Unterminated regular expression literal.
256
253
<a><a />;
257
- ~
258
- !!! error TS2304: Cannot find name 'a' .
254
+ ~~ ~
255
+ !!! error TS2602: The global type 'JSX.Element' must exist when using JSX .
259
256
~~~~~
260
257
!!! error TS2602: The global type 'JSX.Element' must exist when using JSX.
261
258
<a b={}>;
0 commit comments