[new compiler] Fix tst_qqmlvaluetypes
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 3 Mar 2014 11:39:32 +0000 (12:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 3 Mar 2014 19:45:19 +0000 (20:45 +0100)
commitca056ed3fa25b417bc88786377999b04640b1265
tree2014c94b25a9ba9be7c270fb80f09531a30d8eb0
parent0f2c736de46f5f85fc75eb04445913fe3721cbde
[new compiler] Fix tst_qqmlvaluetypes

* Make sure to remove earlier set bindings for any value type property, not just
  scripts. We want font.bold: false to also override an earlier actual binding
  for example.
* Propagate on assignments on qualified property names throughout the
  chain of bindings - that makes it easier to detect them early on.
* The group property collection in the bindings validator should only include
  value bindings to group properties, not on assignments - as they can always
  appear in parallel.

Change-Id: Ib7ec4de755a5a8d269324a77cba36eb945366274
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmlcodegenerator.cpp
src/qml/compiler/qqmlcodegenerator_p.h
src/qml/compiler/qqmltypecompiler.cpp
src/qml/qml/qqmlobjectcreator.cpp