Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ctrl-clic can show to wrong function #154

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments
Open

ctrl-clic can show to wrong function #154

GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant