Improve qml error message "invalid alias location"
authorAleix Pol <aleixpol@kde.org>
Wed, 10 Jun 2015 19:18:15 +0000 (21:18 +0200)
committerAleix Pol Gonzalez <aleixpol@kde.org>
Wed, 10 Jun 2015 19:44:05 +0000 (19:44 +0000)
commit9c61523069d82f016c4cf927e69aea2722c3b80b
tree40d5f26ca93eab656642b0edcd8ab50ab5e92cb6
parente515fec1025ada6594c564fd5a90743abbc86edd
Improve qml error message "invalid alias location"

Specify we're talking about the target itself rather than talking
location, which I always doubt about whether it's the location within the
file.
Also specify the offending property, so we get a clue about what to look
into.

[ChangeLog][QtQml] Improve "invalid alias location" error message by specifying
what's the offending property and by calling it "invalid alias target location"

Change-Id: I7a9390089ee8986872c119df44d8036bf267ab99
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/compiler/qqmltypecompiler.cpp
tests/auto/qml/qqmllanguage/data/invalidAlias.10.errors.txt
tests/auto/qml/qqmllanguage/data/invalidAlias.6.errors.txt
tests/auto/qml/qqmllanguage/data/invalidAlias.7.errors.txt
tests/auto/qml/qqmllanguage/data/invalidAlias.8.errors.txt
tests/auto/qml/qqmllanguage/data/invalidAlias.9.errors.txt