summaryrefslogtreecommitdiff
path: root/crates/typst-ide
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-24 12:36:58 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-24 12:38:27 +0100
commit704bec64ae000699874cbbb9b08fd27fca4d8f10 (patch)
tree1ab1658344654135df3ef51eff097d1ef2856acc /crates/typst-ide
parent7eebafa7837ec173a7b2064ae60fd45b5413d17c (diff)
Move delayed errors into tracer
Diffstat (limited to 'crates/typst-ide')
-rw-r--r--crates/typst-ide/src/analyze.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/typst-ide/src/analyze.rs b/crates/typst-ide/src/analyze.rs
index 2d48039b..f3e417d5 100644
--- a/crates/typst-ide/src/analyze.rs
+++ b/crates/typst-ide/src/analyze.rs
@@ -1,6 +1,5 @@
use comemo::Track;
use ecow::{eco_vec, EcoString, EcoVec};
-use typst::diag::DelayedErrors;
use typst::eval::{Route, Tracer, Vm};
use typst::foundations::{Label, Scopes, Value};
use typst::introspection::{Introspector, Locator};
@@ -55,13 +54,11 @@ pub fn analyze_import(world: &dyn World, source: &LinkedNode) -> Option<Value> {
let mut locator = Locator::default();
let introspector = Introspector::default();
- let mut delayed = DelayedErrors::new();
let mut tracer = Tracer::new();
let vt = Vt {
world: world.track(),
introspector: introspector.track(),
locator: &mut locator,
- delayed: delayed.track_mut(),
tracer: tracer.track_mut(),
};