aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2022-01-12 13:07:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-13 19:50:35 +0000
commitd6b2027db71e4ff828af2a5aa259fa085754c72e (patch)
treeef003a462ecce2a1e20aa2c4de9ffb970a930d68 /tests
parent1fb62e65e4c7458cfe4453fa8d23a8c14d87224d (diff)
qqmljstypepropagator: Add compiler error for unknown function calls
Previously we would not generate an error when an unknown function was called. Change-Id: I31845a642afe0fd6038228c4aabf2ef5c6f1140e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> (cherry picked from commit fddd82345ae63f1769f5fc9e486cfdccea4d0124) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/failures.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/failures.qml b/tests/auto/qml/qmlcppcodegen/data/failures.qml
index e812413497..7e6910c206 100644
--- a/tests/auto/qml/qmlcppcodegen/data/failures.qml
+++ b/tests/auto/qml/qmlcppcodegen/data/failures.qml
@@ -21,4 +21,6 @@ QtObject {
property NotHere here: NotHere {
property int c: b + 1
}
+
+ Component.onCompleted: doesNotExist()
}