compiler: Return the TypeLoader from compile_syntax_node

This commit is contained in:
Tobias Hunger 2024-02-28 17:54:11 +01:00 committed by Tobias Hunger
parent e214b3b306
commit 06b04e71b5
10 changed files with 12 additions and 12 deletions

View file

@ -374,7 +374,7 @@ pub fn compile_with_config(
let syntax_node = syntax_node.expect("diags contained no compilation errors");
// 'spin_on' is ok here because the compiler in single threaded and does not block if there is no blocking future
let (doc, diag) =
let (doc, diag, _) =
spin_on::spin_on(i_slint_compiler::compile_syntax_node(syntax_node, diag, compiler_config));
if diag.has_error() {