Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#7802·carbon-lang

language server provides no reply if `LookupFile` fails

Author: zygoloidCreated Sep 17, 2026Updated Sep 24, 2026
Labelstoolchain

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.

Source: carbon-language/carbon-lang

View original on GitHubView discussion on GitHub