go-eldoc
go-eldoc copied to clipboard
No type information for operator results
With this program:
package main
import (
"fmt"
"math/rand"
)
func main() {
x := rand.Intn(10)
y := rand.Intn(10)
sum := x + y
fmt.Printf("%v + %v is %v\n", x, y, sum)
}
When I have the point over sum on the 3rd line of main, I don't get any type information. However, I am getting type information correctly for everything else in this program. I'm using go-eldoc 0.30, emacs 26.1. Thanks for your help!