aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/groupedScope.qml
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-02-12 11:32:53 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-02-12 11:57:11 +0100
commit4660f51f25a6c56182dff0ea24f7c1ad2bac9cea (patch)
tree0c22127dcaa88724011d85a7c857a70fd7c2e022 /tests/auto/qml/qmllint/data/groupedScope.qml
parent25f765cbd9067c1ebb61721efbe471d9100d9237 (diff)
qmllint: Fix false unknown grouped property warning
We seem to be checking grouped properties twice by endVisit(UiObjectBinding*) and endVisit(UiObjectDefinition*). So the UiObjectBinding variant is removed here as this gets run before all type information is available. Change-Id: Idfe23869792f787df6109cde3b6bc1d96cce3dc3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/groupedScope.qml')
-rw-r--r--tests/auto/qml/qmllint/data/groupedScope.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/groupedScope.qml b/tests/auto/qml/qmllint/data/groupedScope.qml
new file mode 100644
index 0000000000..40f9b41be8
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/groupedScope.qml
@@ -0,0 +1,7 @@
+import QtQuick 2.0
+
+Rectangle {
+ border.width: 1
+
+ gradient: Gradient {}
+}