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-10-10 17:16:31 -04:00
2016-08-19 12:22:54 -04:00
2016-10-10 17:16:31 -04:00
2016-08-19 12:22:54 -04:00
2016-06-02 13:28:57 -04:00
2016-10-10 17:16:31 -04:00
2016-06-01 17:17:03 -04:00
2016-10-10 17:16:31 -04:00
2016-08-19 12:22:54 -04:00
2016-09-12 16:41:28 -07:00