Skip to content

Commit f1d887e

Browse files
committed
fix test
1 parent 3c5579b commit f1d887e

File tree

73 files changed

+839
-5976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+839
-5976
lines changed

tests/fixtures/parser/ast/await04-output.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,9 @@
104104
"declarations": [
105105
{
106106
"type": "VariableDeclarator",
107-
"definite": false,
108107
"id": {
109108
"type": "Identifier",
110109
"name": "p",
111-
"decorators": [],
112-
"optional": false,
113110
"range": [
114111
27,
115112
28
@@ -134,8 +131,6 @@
134131
"object": {
135132
"type": "Identifier",
136133
"name": "Promise",
137-
"decorators": [],
138-
"optional": false,
139134
"range": [
140135
31,
141136
38
@@ -155,8 +150,6 @@
155150
"property": {
156151
"type": "Identifier",
157152
"name": "resolve",
158-
"decorators": [],
159-
"optional": false,
160153
"range": [
161154
39,
162155
46
@@ -219,7 +212,6 @@
219212
}
220213
}
221214
],
222-
"declare": false,
223215
"range": [
224216
21,
225217
49
@@ -292,8 +284,6 @@
292284
"expression": {
293285
"type": "Identifier",
294286
"name": "p",
295-
"decorators": [],
296-
"optional": false,
297287
"range": [
298288
69,
299289
70
@@ -352,8 +342,6 @@
352342
"value": {
353343
"type": "Identifier",
354344
"name": "v",
355-
"decorators": [],
356-
"optional": false,
357345
"range": [
358346
79,
359347
80

tests/fixtures/parser/ast/await04-scope-output.json

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8611,8 +8611,6 @@
86118611
{
86128612
"type": "Identifier",
86138613
"name": "p",
8614-
"decorators": [],
8615-
"optional": false,
86168614
"range": [
86178615
27,
86188616
28
@@ -8635,8 +8633,6 @@
86358633
"name": {
86368634
"type": "Identifier",
86378635
"name": "p",
8638-
"decorators": [],
8639-
"optional": false,
86408636
"range": [
86418637
27,
86428638
28
@@ -8654,12 +8650,9 @@
86548650
},
86558651
"node": {
86568652
"type": "VariableDeclarator",
8657-
"definite": false,
86588653
"id": {
86598654
"type": "Identifier",
86608655
"name": "p",
8661-
"decorators": [],
8662-
"optional": false,
86638656
"range": [
86648657
27,
86658658
28
@@ -8684,8 +8677,6 @@
86848677
"object": {
86858678
"type": "Identifier",
86868679
"name": "Promise",
8687-
"decorators": [],
8688-
"optional": false,
86898680
"range": [
86908681
31,
86918682
38
@@ -8705,8 +8696,6 @@
87058696
"property": {
87068697
"type": "Identifier",
87078698
"name": "resolve",
8708-
"decorators": [],
8709-
"optional": false,
87108699
"range": [
87118700
39,
87128701
46
@@ -8775,8 +8764,6 @@
87758764
"identifier": {
87768765
"type": "Identifier",
87778766
"name": "p",
8778-
"decorators": [],
8779-
"optional": false,
87808767
"range": [
87818768
27,
87828769
28
@@ -8797,8 +8784,6 @@
87978784
"resolved": {
87988785
"type": "Identifier",
87998786
"name": "p",
8800-
"decorators": [],
8801-
"optional": false,
88028787
"range": [
88038788
27,
88048789
28
@@ -8819,8 +8804,6 @@
88198804
"identifier": {
88208805
"type": "Identifier",
88218806
"name": "p",
8822-
"decorators": [],
8823-
"optional": false,
88248807
"range": [
88258808
69,
88268809
70
@@ -8841,8 +8824,6 @@
88418824
"resolved": {
88428825
"type": "Identifier",
88438826
"name": "p",
8844-
"decorators": [],
8845-
"optional": false,
88468827
"range": [
88478828
27,
88488829
28
@@ -8867,8 +8848,6 @@
88678848
"identifier": {
88688849
"type": "Identifier",
88698850
"name": "p",
8870-
"decorators": [],
8871-
"optional": false,
88728851
"range": [
88738852
27,
88748853
28
@@ -8889,8 +8868,6 @@
88898868
"resolved": {
88908869
"type": "Identifier",
88918870
"name": "p",
8892-
"decorators": [],
8893-
"optional": false,
88948871
"range": [
88958872
27,
88968873
28
@@ -8911,8 +8888,6 @@
89118888
"identifier": {
89128889
"type": "Identifier",
89138890
"name": "Promise",
8914-
"decorators": [],
8915-
"optional": false,
89168891
"range": [
89178892
31,
89188893
38
@@ -8936,8 +8911,6 @@
89368911
"identifier": {
89378912
"type": "Identifier",
89388913
"name": "p",
8939-
"decorators": [],
8940-
"optional": false,
89418914
"range": [
89428915
69,
89438916
70
@@ -8958,8 +8931,6 @@
89588931
"resolved": {
89598932
"type": "Identifier",
89608933
"name": "p",
8961-
"decorators": [],
8962-
"optional": false,
89638934
"range": [
89648935
27,
89658936
28
@@ -8994,8 +8965,6 @@
89948965
{
89958966
"type": "Identifier",
89968967
"name": "v",
8997-
"decorators": [],
8998-
"optional": false,
89998968
"range": [
90008969
79,
90018970
80
@@ -9018,8 +8987,6 @@
90188987
"name": {
90198988
"type": "Identifier",
90208989
"name": "v",
9021-
"decorators": [],
9022-
"optional": false,
90238990
"range": [
90248991
79,
90258992
80
@@ -9041,8 +9008,6 @@
90419008
"value": {
90429009
"type": "Identifier",
90439010
"name": "v",
9044-
"decorators": [],
9045-
"optional": false,
90469011
"range": [
90479012
79,
90489013
80
@@ -9108,8 +9073,6 @@
91089073
"identifier": {
91099074
"type": "Identifier",
91109075
"name": "Promise",
9111-
"decorators": [],
9112-
"optional": false,
91139076
"range": [
91149077
31,
91159078
38
@@ -9137,8 +9100,6 @@
91379100
"identifier": {
91389101
"type": "Identifier",
91399102
"name": "Promise",
9140-
"decorators": [],
9141-
"optional": false,
91429103
"range": [
91439104
31,
91449105
38

0 commit comments

Comments
 (0)