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
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue