mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() in the funciton `visit_layout_items_dependencies` we were passing a NamedReference for a property that could have been in the base component type of an element, instead of in one of the element within the current visited component. This would result in wrong computation done later to find out the "element path" of the property. We then need to tell the visitor that the named reference is in a sub component. To do that, we need to visit a PropertyPath instead of just a NamedReference Issue 1659 was showing one of the symptoms of this, which was an assert. But it could also result in wrong analysis (binding loop not detected when it should or vice versa) Fixes #1659 |
||
---|---|---|
.. | ||
generator | ||
LICENSES | ||
llr | ||
parser | ||
parser-test-macro | ||
passes | ||
tests | ||
widgets | ||
build.rs | ||
builtin_macros.rs | ||
builtins.slint | ||
Cargo.toml | ||
diagnostics.rs | ||
embedded_resources.rs | ||
expression_tree.rs | ||
fileaccess.rs | ||
generator.rs | ||
langtype.rs | ||
layout.rs | ||
lexer.rs | ||
lib.rs | ||
literals.rs | ||
llr.rs | ||
load_builtins.rs | ||
lookup.rs | ||
namedreference.rs | ||
object_tree.rs | ||
parser.rs | ||
passes.rs | ||
README.md | ||
typeloader.rs | ||
typeregister.rs |
The Slint Compiler Library
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint
crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z"
in Cargo.toml.