mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
![]() Instead of doing the SyntaxNodeWithSourceFile construction as late as possible (in Document::from_node), we can do it as early as possible. That'll reduce the chances of missing out the source file and prepares for dependency loading just based on a SNWS :) This also makes the source_file optional in the SNWS, but that's consistent with what the diagnostics expect. |
||
---|---|---|
.. | ||
Cargo.toml | ||
main.rs |