Closed digama0 closed 1 week ago
Mathlib CI status (docs):
nightly-testing-2024-05-04
tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib
, Mathlib CI should run now. (2024-05-05 01:48:59)@digama0 Marc and I were a bit concerned about the additional asynchronous control flow, so I pushed a refactoring that simplifies the whole context setup for the language processor. Makes sense?
Yes, LGTM.
As reported on Zulip. The
mainModuleName
was being set incorrectly when browsing lean core sources, resulting in failure of cross-file server requests like "Find References". Because thesrcSearchPath
is generated asynchronously, we store it as aTask Name
which is resolved some time before the header is finished parsing. (I don't think the.get
here will ever block, because the srcSearchPath will be ready by the time the initial command snap is requested.)