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

package_bin: Add bimport v1. backport https://golang.org/cl/24648/ #360

Merged
merged 1 commit into from Jul 3, 2016

Conversation

zchee
Copy link
Contributor

@zchee zchee commented Jul 2, 2016

bimport has added v1 variable.
Just as in #305, gocode can not provide complete word or occur PANIC error on go version devel +575a871 or higher.

This is response to the change of src/cmd/compile/internal/gc/bimport.go
See

This change is simply carried code from golang.org/x/tools/go/gcimporter15/bimport.go.
There may be a wasted code. Please review it if you have time.

I was tested
go version devel +519b469 Sat Jul 2 00:40:40 2016 +0000 darwin/amd64
and
go version go1.6.2 darwin/amd64.
The complete word on IDE(such as vim) works, no PANIC and completion looks perfect.
but _testing tests failed.
So, this pull-request is WIP. I will investigate why the test fails.

Edit: Hmm... I'm re-test ./all.bash, now all tests have passed.
Added strikethrough to the above comment.

This commit is response to the change of src/cmd/compile/internal/gc/bimport.go
bimport has added v1.
See
- golang/go@575a871
- golang/tools@6c3528d

Signed-off-by: Koichi Shiraishi <k@zchee.io>
@nsf
Copy link
Owner

nsf commented Jul 3, 2016

Hm. One moment, will take a look at the thing.

@nsf nsf merged commit f535dc6 into nsf:master Jul 3, 2016
@nsf
Copy link
Owner

nsf commented Jul 3, 2016

Thanks for the patch.

Edit: It works indeed.

@zchee
Copy link
Contributor Author

zchee commented Jul 3, 2016

@nsf Thanks!
I'm relieved to hear that :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants