Type detection for the return value of reduce is always Object. In the example below, it should be Integer.
Hovering over the variable shows Object:
Auto-complete only suggests Object methods:
There is a work-around of using the @type tag as mentioned in the readme. But it'd be great if vscode-solargraph could detect this automatically. I'd be willing to help implement this.
Hello!
Type detection for the return value of
reduce
is alwaysObject
. In the example below, it should beInteger
.Hovering over the variable shows
Object
:Auto-complete only suggests
Object
methods:There is a work-around of using the
@type
tag as mentioned in the readme. But it'd be great if vscode-solargraph could detect this automatically. I'd be willing to help implement this.Versions: