go-eldoc icon indicating copy to clipboard operation
go-eldoc copied to clipboard

No type information for operator results

Open jeffrabovsky opened this issue 7 years ago • 0 comments

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!

jeffrabovsky avatar Jul 24 '18 02:07 jeffrabovsky