Erik Arvidsson 384ccbcf5e Fix inferring return type of var function (#545)
I accidentally broke the detection of the return type in:

```js
var f = function(x: number): boolean {}
```
2016-10-10 17:18:07 -04:00
..
2016-06-02 15:00:12 -04:00
2015-12-06 18:01:55 -05:00