Skip to content

Commit

Permalink
Re-enable disabled flow parser test (#13661)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored Aug 10, 2021
1 parent 1229336 commit 9286cdb
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 3 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"type": "File",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern. (1:12)"
],
"program": {
"type": "Program",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
"declarations": [
{
"type": "VariableDeclarator",
"start":4,"end":31,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":31}},
"id": {
"type": "Identifier",
"start":4,"end":7,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7},"identifierName":"foo"},
"name": "foo"
},
"init": {
"type": "ArrowFunctionExpression",
"start":10,"end":31,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":31}},
"predicate": null,
"returnType": {
"type": "TypeAnnotation",
"start":17,"end":25,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":25}},
"typeAnnotation": {
"type": "StringTypeAnnotation",
"start":19,"end":25,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":25}}
}
},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":12,"end":15,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":15},"identifierName":"foo"},
"name": "foo",
"extra": {
"parenthesized": true,
"parenStart": 11
}
}
],
"body": {
"type": "BlockStatement",
"start":29,"end":31,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}},
"body": [],
"directives": []
}
}
}
],
"kind": "var"
}
],
"directives": []
}
}

0 comments on commit 9286cdb

Please sign in to comment.