diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-14 16:31:19 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-15 18:51:39 +0000 |
commit | bf5f97e6c6900535a7131c6a26415459bfaca774 (patch) | |
tree | a8158d0398faaa1419bbe59c76b45f782566dc96 /tests/auto/qml/qqmllanguage/data/alias.14.errors.txt | |
parent | f1736b9a94a8bce40a26efba766e935ae6865530 (diff) |
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 <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/alias.14.errors.txt')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/alias.14.errors.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |