Fix invalid alias error reporting in new compiler
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 30 Sep 2013 07:41:35 +0000 (09:41 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 30 Sep 2013 16:23:17 +0000 (18:23 +0200)
commit23793482e9b187441203fb629b459245c504dfba
tree193d26239f7235ed2d0926f63b97b5b532c3b48b
parent7df73c27121149c36a6c8a21850d85728ea79ad5
Fix invalid alias error reporting in new compiler

Match exactly the VME code path by reporting the right type of error
as well as the right hand side of the alias binding if necessary.

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