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

@ -394,7 +394,7 @@ pub fn slint(stream: TokenStream) -> TokenStream {
//println!("{:#?}", syntax_node);
compiler_config.translation_domain = std::env::var("CARGO_PKG_NAME").ok();
let (root_component, diag) =
let (root_component, diag, _) =
spin_on::spin_on(compile_syntax_node(syntax_node, diag, compiler_config));
//println!("{:#?}", tree);
if diag.has_error() {