aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-02-26 10:53:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-02 14:48:59 +0100
commit849de77470ca81bc97a547af28c4caa3b8a84078 (patch)
tree91fac20f584c89deb375363a94b73145828107ca /tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml
parentbf47d66216e649fe947956e02edd0a4b24ddb0fe (diff)
[new compiler] Fix implicit component determination inside group properties
Don't only scan full-typed objects for property bindings that may define components implicitly, do this for any types we know (propertyCache populated) and that aren't explicitly of Component type. Change-Id: I918b636be6d524e919cdd4efd49c33e63da64de3 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml b/tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml
new file mode 100644
index 0000000000..6dae861e62
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/autoComponentCreationInGroupProperties.qml
@@ -0,0 +1,6 @@
+import Test 1.0
+MyTypeObject {
+ selfGroupProperty {
+ componentProperty : MyTypeObject { realProperty: 9 }
+ }
+}