quan-xie / goclipse

Automatically exported from code.google.com/p/goclipse
0 stars 0 forks source link

ctrl-clic can show to wrong function #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If 2 functions share the same signature, but on different objects/packages, 
ctrl-clic can get the wrong function :

import (
    "time"
)

func main() {
    time.After
}

Signature of time.After :
func After(d Duration) <-chan Time

If I ctrl-clic, the function shown is (comparison of 2 Time) :
func (t Time) After(u Time) bool

With time.After, we should get the function in the package, not the one 
associated to the object time.Time.

Original issue reported on code.google.com by tatrefth...@gmail.com on 5 Sep 2013 at 5:41