aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-04-27 14:22:53 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-05-02 15:45:23 +0000
commit1236abb3b3abab65984e32094bbaba4395667e0b (patch)
tree8194fda3efa9fb22c03399727bd9968d0728853e /tests/auto/qml/qqmllanguage/data
parenta6f30b6c463fc4a326742085b50c7667848e9c21 (diff)
Improve error location reporting for custom properties
When declaring a property with custom types, such as Item { property MyType foo; } and the engine failed to figure out what "MyType" was, it would report an error about that and print the location of Item {}. That was the case only for historical reasons and nowadays we can easily report the location where the property exactly is declared. Change-Id: Idaf2e796790cde1bc0794e6210b751c431211860 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data')
-rw-r--r--tests/auto/qml/qqmllanguage/data/dynamicMeta.5.errors.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/dynamicMeta.5.errors.txt b/tests/auto/qml/qqmllanguage/data/dynamicMeta.5.errors.txt
index 015d55b03b..30b5193cd5 100644
--- a/tests/auto/qml/qqmllanguage/data/dynamicMeta.5.errors.txt
+++ b/tests/auto/qml/qqmllanguage/data/dynamicMeta.5.errors.txt
@@ -1 +1 @@
-3:1:UnknownType is not a type
+4:5:UnknownType is not a type