Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
5.0.0
-
None
Description
Following QTBUG-24891, I would expect the following files to produce the same output as the example for that bug:
main.qml
import QtQuick 2.0 MyItem { property int myprop: 10 }
MyItem.qml
import QtQuick 2.0 Item { id: self property string myprop: "hello world" property alias result: self.myprop Component.onCompleted: console.log(myprop + " " + result) //'normal' result: 10 hello world //QML_DISABLE_OPTIMIZER result: 10 hello world }
In fact, the alias resolution is not dynamic, and v8 produces the same output as v4.
Attachments
Issue Links
- resulted from
-
QTBUG-24891 v4 and v8 resolve root object properties differently
-
- Closed
-