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

@@ -88,37 +88,22 @@
"column": 52
}
},
"returnType": {
"type": "TypeAnnotation",
"start": 18,
"predicate": {
"type": "InferredPredicate",
"start": 20,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 18
"column": 20
},
"end": {
"line": 1,
"column": 27
}
},
"typeAnnotation": null,
"predicate": {
"type": "InferredPredicate",
"start": 20,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 27
}
}
}
},
"returnType": null,
"id": null,
"generator": false,
"expression": true,