gocode 18.04 built with lib/go-1.9 instead of 1.10, no completion
Bug #1787088 reported by
pb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gocode (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
on 18.04, bionic, when using gocode there was no completion from the standard library. Apparently, the provided gocode was built with go 1.9 and installed is go 1.10. This can be reproduced by running
$ gocode close
$ gocode -s -debug
....
2018/08/15 06:17:51 Import path "fmt" was not resolved
2018/08/15 06:17:51 Gocode's build context is:
2018/08/15 06:17:51 GOROOT: /usr/lib/go-1.9
....
When running manually a manually installed version of gocode everything works fine. Probably, the distributed version of gocode should be rebuilt to match the installed go version.
To post a comment you must log in.