aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/Test.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-06-13 09:25:40 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-06-15 09:43:01 +0200
commite18919d3f24f359a720a2a4daca322cfce3c68fd (patch)
treed36911c95207ae05904a32bc384c65e88c51f036 /tests/auto/qml/qmlcppcodegen/data/Test.qml
parentfb3a81623a3d39289d508f504bb0308be443ce50 (diff)
QmlCompiler: Check builtin type aliases after list resolution
This way we can determine that QList<qreal> is the same as QList<double>. Pick-to: 6.4 Fixes: QTBUG-104129 Change-Id: I96df19da1a613558b950aa6cee46159024c19cc9 Reviewed-by: Evgeniy Dushistov <dushistov@mail.ru> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/Test.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/Test.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/Test.qml b/tests/auto/qml/qmlcppcodegen/data/Test.qml
index 391360face..65c25aa100 100644
--- a/tests/auto/qml/qmlcppcodegen/data/Test.qml
+++ b/tests/auto/qml/qmlcppcodegen/data/Test.qml
@@ -21,4 +21,10 @@ CppBaseClass {
function incA() : void {
self.a = self.boo[1];
}
+
+ property real b: hoo[0]
+ function incB() : void {
+ self.b = self.hoo[1];
+ }
+
}