-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.9.3, 6.10.0
The new PropertyChanges syntax should also allow typechecking the changes wil qmllint.
However, this does not seem to be the case:
[1] invalid property on known item type: not detected by qmllint, prevents construction on runtime
[2] invalid id: not detected by qmllint, runtime error
import QtQuick Window { id: root width: 640 height: 480 visible: true Rectangle { id: foo width: 100 height: 100 color: "red" states: [ State { name: "bar" PropertyChanges { foo.x: 42 // foo.bar: 42 // [1] runtime error preventing construction on startup bogusid.bar: 42 // [2] runtime error when state is applied } } ] } }