mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Error when mixing purity in callback aliases
Also adjust the way we report error while infering to avoid double reporting errors
This commit is contained in:
parent
1cbd61145e
commit
8fc7c2dafc
8 changed files with 75 additions and 22 deletions
|
@ -34,5 +34,5 @@ Xxx := Rectangle {
|
|||
}
|
||||
|
||||
callback xx <=> foo;
|
||||
// ^error{Cannot bind to a function}
|
||||
// ^error{Binding to callback 'xx' must bind to another callback}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue