From 04fd0acacab8cf2e82268da9c18ef4bcf37507dc Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Thu, 26 Jun 2025 09:24:21 +0100 Subject: Allow deprecating symbol variants (#6441) --- crates/typst-ide/src/complete.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-ide/src/complete.rs') diff --git a/crates/typst-ide/src/complete.rs b/crates/typst-ide/src/complete.rs index 53642331..bc5b3e10 100644 --- a/crates/typst-ide/src/complete.rs +++ b/crates/typst-ide/src/complete.rs @@ -448,7 +448,7 @@ fn field_access_completions( match value { Value::Symbol(symbol) => { for modifier in symbol.modifiers() { - if let Ok(modified) = symbol.clone().modified(modifier) { + if let Ok(modified) = symbol.clone().modified((), modifier) { ctx.completions.push(Completion { kind: CompletionKind::Symbol(modified.get()), label: modifier.into(), -- cgit v1.2.3