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

Error 714: List Required using Golang Bingo LSP: ALEFindReferences #2402

Closed
tomarrell opened this issue Mar 28, 2019 · 1 comment
Closed
Labels

Comments

@tomarrell
Copy link

Information

VIM version (Neovim)

NVIM v0.3.4
Build type: Release

Operating System: MacOS 10.14.4

What went wrong

When trying to find references of an argument to a function in a Go file using the Bingo (https://github.com/saibing/bingo) LSP, ALE throws an error which is shown below.

Error detected while processing function <SNR>141_NeoVimCallback[4]..ale#util#JoinNeovimOutput[2]..<lambda>10738[1]..ale#lsp#HandleMessage[30]..ale#references#HandleLSPResponse:                                                              
line    9:                                                                                                                                                                                                                                     
E714: List required

Reproducing the bug

  1. Install ALE & Bingo
  2. Open a .go file which has a function with an argument
  3. Run :ALEFindReferences on the function argument:
    e.g.
           Here
            v
func test(hello string) {}

:ALEInfo

Error detected while processing function <SNR>141_NeoVimCallback[4]..ale#util#JoinNeovimOutput[2]..<lambda>10738[1]..ale#lsp#HandleMessage[30]..ale#references#HandleLSPResponse:                                                              
line    9:                                                                                                                                                                                                                                     
E714: List required

Screenshot 2019-03-28 at 23 24 21

@w0rp w0rp added the bug label Mar 29, 2019
@w0rp w0rp closed this as completed in a92627e Mar 29, 2019
@w0rp
Copy link
Member

w0rp commented Mar 29, 2019

Now ALE will handle null reference responses like this one.

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

No branches or pull requests

2 participants