Skip to content

language server provides no reply if LookupFile fails #7802

Description

@zygoloid

Description of the bug:

handle_document_symbol.cpp and handle_formatting.cpp return; without calling on_done when LookupFile fails. Instead of returning an error they emit a diagnostic and leave the LSP client waiting forever for a reply.

What did you do, or what's a simple way to reproduce the bug?

No response

What did you expect to happen?

No response

What actually happened?

No response

Any other information, logs, or outputs that you want to share?

Bug was found by Claude in passing when working on a separate LSP feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions