mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Fix warning message for a property that name is used for function
This commit is contained in:
parent
31c5d9407f
commit
bc89c634b3
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ export Xxx := Rectangle {
|
|||
|
||||
Abc {
|
||||
property <int> par;
|
||||
// ^error{Cannot declare property 'par' when a callback with the same name exists}
|
||||
// ^error{Cannot declare property 'par' when a function with the same name exists}
|
||||
callback par();
|
||||
// ^error{Cannot declare callback 'par' when a function with the same name exists}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue