Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 6.4
-
Fix Version/s: 6.4.0 Beta1, 6.4
-
Component/s: QML: Compiler
-
Labels:
-
Commits:70da741404 (qt/qtdeclarative/dev) 70da741404 (qt/tqtc-qtdeclarative/dev)
Description
Consider:
pragma Strict import QtQml QtObject { property list<rect> rectList: [ Qt.rect(1,2,3,4), Qt.rect(5,6,7,8), Qt.rect(9,10,11,12) ] property list<string> stringList: ["aaa", "bbb", "ccc"] property list<int> intList: [5, 6, 7, 8] property var rectInBounds: rectList[0] property var rectOutOfBounds: rectList[32] property var stringInBounds: stringList[1] property var stringOutOfBounds: stringList[33] property var intInBounds: intList[2] property var intOutOfBounds: intList[34] }
None of this works right now.
Attachments
Issue Links
- split from
-
QTBUG-103371 Treat strings like arrays regarding operator []
-
- Closed
-
- split to
-
QTBUG-103560 qmlsc allows access to fractional indices of QQmlListProperty
-
- Closed
-