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

Don't fail on unsupported modes #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

farhaven
Copy link

gopls asks for:

mode: LoadMode(NeedName|NeedFiles|NeedCompiledGoFiles|NeedImports|NeedDeps|NeedTypesSizes|Unknown)

which causes bazelpackagesdriver to error out with

LoadMode(Unknown) (10000000000) not implemented

Just logging this instead of returning a hard error allows package loadig to continue. I haven't yet
observed problems with a combination of acme-lsp and gopls.

`gopls` asks for:

	mode: LoadMode(NeedName|NeedFiles|NeedCompiledGoFiles|NeedImports|NeedDeps|NeedTypesSizes|Unknown)

which causes bazelpackagesdriver to error out with

	LoadMode(Unknown) (10000000000) not implemented

Just logging this instead of returning a hard error allows package loadig to continue. I haven't yet
observed problems with a combination of acme-lsp and gopls.
@farhaven
Copy link
Author

Ping :)

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.

1 participant