mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 12:46:43 +00:00
feat: read and check type annotations in docstring (Part. 1) (#679)
* feat: read and check type annotations in docstring * fix: remove test.snap in playground * chore: refactor and remove some dirty changes
This commit is contained in:
parent
c8e11e92f1
commit
3ed401740e
26 changed files with 407 additions and 99 deletions
|
|
@ -34,7 +34,7 @@ type CompileDriver<C> = CompileDriverImpl<C, tinymist_world::LspCompilerFeat>;
|
|||
struct WrapWorld<'a>(&'a mut LspWorld);
|
||||
|
||||
impl<'a> AnalysisResources for WrapWorld<'a> {
|
||||
fn world(&self) -> &dyn typst::World {
|
||||
fn world(&self) -> &LspWorld {
|
||||
self.0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue