From bf5f97e6c6900535a7131c6a26415459bfaca774 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 14 Jul 2016 16:31:19 +0200 Subject: Fix alias resolution algorithm The resolution of aliases needs to to be solved in iterations as an alias can refer to another alias, which may not be created yet in the property cache by the time we try to perform the resolution. Therefore the alias resolution code works off a list of pending aliases after the initial pass of resolution. This also requires the ability to detect circular references. Change-Id: Id4e159b9c713aa8a8a095759e22e3fac456a38a0 Reviewed-by: Lars Knoll --- tests/auto/qml/qqmllanguage/data/alias.14.errors.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/auto/qml/qqmllanguage/data/alias.14.errors.txt (limited to 'tests/auto/qml/qqmllanguage/data/alias.14.errors.txt') diff --git a/tests/auto/qml/qqmllanguage/data/alias.14.errors.txt b/tests/auto/qml/qqmllanguage/data/alias.14.errors.txt new file mode 100644 index 0000000000..90a3ea4317 --- /dev/null +++ b/tests/auto/qml/qqmllanguage/data/alias.14.errors.txt @@ -0,0 +1 @@ +10:34:References to other aliases within the same object are not supported at the moment -- cgit v1.2.3