File tree 6 files changed +33
-33
lines changed
tests/fixtures/ecma-version
6 files changed +33
-33
lines changed Original file line number Diff line number Diff line change 18
18
},
19
19
"license" : " BSD-2-Clause" ,
20
20
"dependencies" : {
21
- "acorn" : " 4.0.4 " ,
21
+ "acorn" : " ^ 4.0.11 " ,
22
22
"acorn-jsx" : " ^3.0.0"
23
23
},
24
24
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ module.exports = {
2
2
"index" : 4 ,
3
3
"lineNumber" : 1 ,
4
4
"column" : 5 ,
5
- "message" : "Unexpected token ( "
6
- } ;
5
+ "message" : "Parenthesized pattern "
6
+ } ;
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ module.exports = {
2
2
"index" : 1 ,
3
3
"lineNumber" : 1 ,
4
4
"column" : 2 ,
5
- "message" : "Unexpected token ( "
6
- } ;
5
+ "message" : "Parenthesized pattern "
6
+ } ;
Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ module.exports = {
36
36
"loc" : {
37
37
"start" : {
38
38
"line" : 1 ,
39
- "column" : 0
39
+ "column" : 1
40
40
} ,
41
41
"end" : {
42
42
"line" : 1 ,
43
- "column" : 30
43
+ "column" : 29
44
44
}
45
45
} ,
46
46
"range" : [
47
- 0 ,
48
- 30
47
+ 1 ,
48
+ 29
49
49
] ,
50
50
"operator" : "=" ,
51
51
"left" : {
@@ -129,16 +129,16 @@ module.exports = {
129
129
"loc" : {
130
130
"start" : {
131
131
"line" : 1 ,
132
- "column" : 27
132
+ "column" : 26
133
133
} ,
134
134
"end" : {
135
135
"line" : 1 ,
136
- "column" : 30
136
+ "column" : 29
137
137
}
138
138
} ,
139
139
"range" : [
140
- 27 ,
141
- 30
140
+ 26 ,
141
+ 29
142
142
] ,
143
143
"name" : "res"
144
144
}
@@ -257,55 +257,55 @@ module.exports = {
257
257
} ,
258
258
{
259
259
"type" : "Punctuator" ,
260
- "value" : ") " ,
260
+ "value" : "= " ,
261
261
"loc" : {
262
262
"start" : {
263
263
"line" : 1 ,
264
- "column" : 23
264
+ "column" : 24
265
265
} ,
266
266
"end" : {
267
267
"line" : 1 ,
268
- "column" : 24
268
+ "column" : 25
269
269
}
270
270
} ,
271
271
"range" : [
272
- 23 ,
273
- 24
272
+ 24 ,
273
+ 25
274
274
]
275
275
} ,
276
276
{
277
- "type" : "Punctuator " ,
278
- "value" : "= " ,
277
+ "type" : "Identifier " ,
278
+ "value" : "res " ,
279
279
"loc" : {
280
280
"start" : {
281
281
"line" : 1 ,
282
- "column" : 25
282
+ "column" : 26
283
283
} ,
284
284
"end" : {
285
285
"line" : 1 ,
286
- "column" : 26
286
+ "column" : 29
287
287
}
288
288
} ,
289
289
"range" : [
290
- 25 ,
291
- 26
290
+ 26 ,
291
+ 29
292
292
]
293
293
} ,
294
294
{
295
- "type" : "Identifier " ,
296
- "value" : "res " ,
295
+ "type" : "Punctuator " ,
296
+ "value" : ") " ,
297
297
"loc" : {
298
298
"start" : {
299
299
"line" : 1 ,
300
- "column" : 27
300
+ "column" : 29
301
301
} ,
302
302
"end" : {
303
303
"line" : 1 ,
304
304
"column" : 30
305
305
}
306
306
} ,
307
307
"range" : [
308
- 27 ,
308
+ 29 ,
309
309
30
310
310
]
311
311
} ,
@@ -328,4 +328,4 @@ module.exports = {
328
328
]
329
329
}
330
330
]
331
- } ;
331
+ } ;
Original file line number Diff line number Diff line change 1
- ( { responseText : text } ) = res ;
1
+ ( { responseText : text } = res ) ;
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- "index" : 24 ,
3
- "lineNumber" : 2 ,
4
- "column" : 3 ,
2
+ "index" : 0 ,
3
+ "lineNumber" : 1 ,
4
+ "column" : 1 ,
5
5
"message" : "Illegal 'use strict' directive in function with non-simple parameter list"
6
6
} ;
You can’t perform that action at this time.
0 commit comments