diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-11-01 09:30:04 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-11-02 22:05:00 +0100 |
commit | 41f0e7d085fcca73212c7d684338bf8c3e36ddf5 (patch) | |
tree | 43a682207cc9a21014dcbf3972f062c1df1f4b69 /tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml | |
parent | c9d9448353a7b11bc8a3a93c496fa19fd0d54a65 (diff) |
Allow attached properties in generalized grouped properties
As a side effect this also removes the restriction on attached
properties in regular grouped properties. This restriction was an
artifact of a past implementation detail.
Task-number: QTBUG-95117
Change-Id: I8761e350ed476dc02663b8fb9e1888f0b1392392
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml b/tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml new file mode 100644 index 0000000000..7de503e766 --- /dev/null +++ b/tests/auto/qml/qqmllanguage/data/validAttachedProperty.12.qml @@ -0,0 +1,6 @@ +import Test 1.0 + +MyTypeObject { + grouped.MyQmlObject.value: 10 +} + |