[new compiler] Fix timing of property assignment error handling
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 27 Jan 2014 15:00:54 +0000 (16:00 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 29 Jan 2014 09:08:46 +0000 (10:08 +0100)
commit7cfd7ab2b1244681e384ec4640ee6e528881f4af
tree2ac466eeb6fff75f32c0025f98148bb13d73630b
parent977a335ccd16e162d1aeaf0ab569afe98faed0f4
[new compiler] Fix timing of property assignment error handling

Most property assignment errors are now handled at type compile time, just
like in the old compiler. This speeds up the object creation code and
restores behavior expected in the qqmllanguage tests.

Change-Id: If213cd0bfa4dd51d9065c27809a79a6495c9f3ce
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmltypecompiler.cpp
src/qml/compiler/qqmltypecompiler_p.h
src/qml/qml/qqmlobjectcreator.cpp
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp