* Recover from "missing semicolon" errors * Update other tests * Fix flow * Fix windows test * Add back deleted test
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}},
|
|
"errors": [
|
|
"SyntaxError: Missing semicolon (1:5)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":2,"end":5,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":2,"end":5,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5},"identifierName":"set"},
|
|
"name": "set"
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |