Improve type error messages when reading properties
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 5 Jun 2013 07:59:18 +0000 (09:59 +0200)
committerLars Knoll <lars.knoll@digia.com>
Wed, 5 Jun 2013 08:56:10 +0000 (10:56 +0200)
commitfd01eb1797221fbcc983ed5d4ff644cecdba5e42
tree898ad6300aef2ee48dc622dd0cc427f47dbf0539
parentf0e32d311a791910acef672b1ab9a2ac4a80171e
Improve type error messages when reading properties

This fixes the expected output of the qobjectConnectionListExceptionHandling and
while we're at it this patch also re-enables the importScripts test. The test
expects similar output that now passes. importScripts_data produces two failures
though, that are unrelated to expected error message but indicate real bugs.

Change-Id: I606b8791524d19a4bb20a81c30abc2285a1a0a0f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4runtime.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp