Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lala7573 committed Jul 1, 2021
1 parent d8936e9 commit 7935bf3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f?.<string>[1];
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sourceType": "module",
"plugins": [
"typescript"
],
"throws": "Unexpected token (1:NaN)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ f?.<Q>();
f?.<Q, W>();
f
?.<Q>();
f?.<string>[1];
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"type": "File",
"start":0,"end":49,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":15}},
"errors": [
"SyntaxError: Unexpected token, expected \"(\" (5:12)"
],
"start":0,"end":33,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":8}},
"program": {
"type": "Program",
"start":0,"end":49,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":15}},
"start":0,"end":33,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":8}},
"sourceType": "module",
"interpreter": null,
"body": [
Expand Down Expand Up @@ -108,26 +105,6 @@
},
"optional": false
}
},
{
"type": "ExpressionStatement",
"start":34,"end":49,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":15}},
"expression": {
"type": "OptionalMemberExpression",
"start":34,"end":48,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":14}},
"object": "SyntaxError: Unexpected token, expected \"(\" (5:12)",
"computed": true,
"property": {
"type": "NumericLiteral",
"start":46,"end":47,"loc":{"start":{"line":5,"column":12},"end":{"line":5,"column":13}},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"optional": false
}
}
],
"directives": []
Expand Down

0 comments on commit 7935bf3

Please sign in to comment.