-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.9.3, 6.10.0
With foo having a known type Rectangle, qmllint should detect the invalid property.
The AOT compiler stats and the quick compiler (in strict mode) do.
// pragma Strict import QtQuick Window { id: root width: 640 height: 480 visible: true Rectangle { id: foo width: 100 height: 100 color: "red" Component.onCompleted: { foo.color = "blue"; foo.bar = 42; // [1] runtime error/aot compilation stats info only, except when compiled with Strict } } }