slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.64k stars 607 forks source link

interpreter: Fix panic with a for loop on an empty array #6765

Closed ogoffart closed 1 week ago

ogoffart commented 1 week ago

Fix #6760

ogoffart commented 1 week ago

As CI shows, C++ generated code is invalid as well. So I think it's easier to make it an error: #6767

ogoffart commented 1 week ago

Replaced by https://github.com/slint-ui/slint/pull/6767