Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Type detection for := #15

Closed
creack opened this issue Dec 13, 2010 · 5 comments
Closed

Type detection for := #15

creack opened this issue Dec 13, 2010 · 5 comments

Comments

@creack
Copy link

creack commented Dec 13, 2010

Could it be possible to detect the type with :=?

a := myfunc() should be form the type of return of the function.

Regards

@nsf
Copy link
Owner

nsf commented Dec 14, 2010

Gocode does complete type inference. See screencast: http://nsf.110mb.com/gocode-demo.swf

Or even this screenshot on the README page:
Gocode in vim

@creack
Copy link
Author

creack commented Dec 14, 2010

So why have you chosen to do not complete on type too?

@nsf
Copy link
Owner

nsf commented Dec 14, 2010

What do you mean?

@creack
Copy link
Author

creack commented Dec 14, 2010

My bad, I retried and it works well, maybe just my vim config which had failed. Sorry about that.

@nsf
Copy link
Owner

nsf commented Dec 14, 2010

np :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants