Fix predicate attachment to match flow parser (#428)

This commit is contained in:
Brian Ng
2017-04-04 08:48:50 -05:00
committed by Daniel Tschinder
parent cbf4203237
commit bdfa92464b
51 changed files with 181 additions and 206 deletions

View File

@@ -111,37 +111,22 @@
}
}
],
"returnType": {
"type": "TypeAnnotation",
"start": 22,
"predicate": {
"type": "InferredPredicate",
"start": 24,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 22
"column": 24
},
"end": {
"line": 1,
"column": 31
}
},
"typeAnnotation": null,
"predicate": {
"type": "InferredPredicate",
"start": 24,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 31
}
}
}
},
"returnType": null,
"body": {
"type": "BlockStatement",
"start": 32,