Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2
-
32072884bdba99205d7f681382b0fcf83d292c6d (qt/tqtc-qtdeclarative/5.15)
Description
The following code snippet leads to an instant segfault:
import QtQml 2.15 QtObject { id: obj readonly property QtObject subObj: QtObject { property bool foo: false } readonly property QtObject subObj2: QtObject { property alias foo: obj.subObj.foo } }
As I understand QML, this should not even go through the parser, because the alias declaration refers to a subproperty of a readonly property (readonly, but not not constant! i.e. it could still change through bindings, internal shenanigans...).