Fix tst_qqmlecmascript::functionAssignment_fromBinding
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 18 Jun 2013 11:47:33 +0000 (13:47 +0200)
committerLars Knoll <lars.knoll@digia.com>
Tue, 18 Jun 2013 14:44:54 +0000 (16:44 +0200)
commit82ca7d96e95dfc505ee1a50623f913c0d2bddf30
tree9330e961819a55ebfb560c1c1f2801865de9a3c3
parent9262851159ff4705a5dc19b75682af14b056219f
Fix tst_qqmlecmascript::functionAssignment_fromBinding

Function declarations in QML mode should be similar to function expressions and
therefore need to go to the return value of the function..

Change-Id: Ib1dd8a970a967f2456d0558be74edf5d74d288e5
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4codegen.cpp