mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Allow to have builtin item function to return a value
This does some refactoring to allow builtin item functions to return a value: - builtin member functions are no longer BuiltinFunction, but they are just normal NamedReference - Move special case for them in the LLR/eval
This commit is contained in:
parent
28b295b33d
commit
fa650ed5ec
15 changed files with 215 additions and 235 deletions
|
@ -1699,6 +1699,7 @@ impl Element {
|
|||
declared_pure: p.pure,
|
||||
is_local_to_component: true,
|
||||
is_in_direct_base: false,
|
||||
builtin_function: None,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue