Closed mitchgrout closed 4 months ago
VSCode extension for slint crashed while editing a .slint file. Extension version was v1.7.0, and the error output:
thread 'main' panicked at internal\compiler\passes\resolving.rs:169:13: assertion failed: ctx.diag.has_errors()
This was triggered by creating a preview for the following component:
import { Button } from "std-widgets.slint"; export component ExportedComponent { width: 80px; height: 60px; Button { } }
...then in the preview, enabling the editor, selecting the button, and setting the ~value~ accessible-action-set-value property to :. I haven't checked all possibilities, but it seems that anything that isn't strictly letters will cause a panic.
value
accessible-action-set-value
:
Thanks for reporting a bug.
I can reproduce it in slintpad as well.
There are two problem:
VSCode extension for slint crashed while editing a .slint file. Extension version was v1.7.0, and the error output:
This was triggered by creating a preview for the following component:
...then in the preview, enabling the editor, selecting the button, and setting the ~
value
~accessible-action-set-value
property to:
. I haven't checked all possibilities, but it seems that anything that isn't strictly letters will cause a panic.