feat: pass tests if warnings happens (#1535)

This commit is contained in:
Myriad-Dreamin 2025-03-19 12:02:40 +08:00 committed by GitHub
parent 4bb16b5b93
commit c8c891fbc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 61 additions and 51 deletions

View file

@ -66,6 +66,10 @@ where
}
impl<F: CompilerFeat, I: Instrumenter> SourceWorld for InstrumentWorld<'_, F, I> {
fn as_world(&self) -> &dyn typst::World {
self
}
fn path_for_id(&self, id: FileId) -> FileResult<PathResolution> {
self.base.path_for_id(id)
}