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
2015-12-11 17:04:42 -05:00
2016-10-10 17:16:31 -04:00
2016-08-18 08:01:12 -04:00
2016-08-24 10:58:15 -04:00
2015-11-24 11:21:11 -05:00