mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
compiler: Return the TypeLoader
from compile_syntax_node
This commit is contained in:
parent
e214b3b306
commit
06b04e71b5
10 changed files with 12 additions and 12 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue