-
Notifications
You must be signed in to change notification settings - Fork 89
does not seem to be working properly with go 1.11 #48
Comments
If you're like me and wondering how to get |
@phenixrizen is this in module-aware mode per chance? |
@myitcv I'm not using module-aware mode |
Ok thanks. Can you confirm you've rebuilt gocode using Go 1.11 and then run
gocode close (to kill previous instances)?
…On Wed, 29 Aug 2018, 09:52 Phenix Rizen, ***@***.***> wrote:
@myitcv <https://github.com/myitcv> I'm not using module-aware mode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#48 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADN97iG4bNo9PzQU8KCD4vaGXJhldGuKks5uVri4gaJpZM4WQkNw>
.
|
@myitcv I've built gocode with 1.11 and made sure I killed the daemon and removed the socket file. I've ran the daemon with the debug flag and I'm getting the following output when it's trying to do a dot lookup of methods: 2018/08/29 08:44:06 ------------------------------------------------------- |
@myitcv Also noticed that if I don't ad a . it thinks st is not a valid type, therefore it cannot find the methods: 2018/08/29 09:27:23 ------------------------------------------------------- |
Do you have a minimal repro you can share?
…On Wed, 29 Aug 2018, 10:35 Phenix Rizen, ***@***.***> wrote:
@myitcv <https://github.com/myitcv> Also noticed that if I don't ad a .
it thinks st is not a valid type, therefore it cannot find the methods:
2018/08/29 09:27:23 -------------------------------------------------------
2018/08/29 09:27:23 Elapsed duration: 1.205946ms
2018/08/29 09:27:23 Offset: 0
2018/08/29 09:27:23 Number of candidates found: 4
2018/08/29 09:27:23 Candidates are:
2018/08/29 09:27:23 package spew
2018/08/29 09:27:23 package storage
2018/08/29 09:27:23 type string string
2018/08/29 09:27:23 var st invalid type
2018/08/29 09:27:23 =======================================================
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#48 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADN97vAvz10P8u_Dz6ksh1CgI7vCDsvyks5uVsK7gaJpZM4WQkNw>
.
|
@myitcv You can clone this repo: https://github.com/phenixrizen/testjsondb.git I dug into this and the package.Scope returned in the call on line 34 of internal/suggest.go returns the following Scope if I type "db" on line 16 of main.go in testjsondb: (*types.Scope)(0xc0000c8870)(function scope 0xc0000c8870 { |
This works properly with go1.11, I didn't notice the change to not look at source outside the stdlib. |
No description provided.
The text was updated successfully, but these errors were encountered: