qtdeclarative/tests/auto/qml/qqmljsscope
Andrei Golubev 99178a947c QmlCompiler: Fix script indices calculation
The logic is misbehaving on multiple occasions. For instance,
same-named signal handlers in different scopes and script bindings
inside array scopes were wrongly handled. Fix that by revising
the mechanism of inner function computation

As a drive by, fix parseLiteralOrScriptBinding() to distinguish
translation bindings from script bindings (they are vitally
different now)

Extend the script calculation test in tst_qqmljsscope to cover
the findings

Pick-to: 6.4
Change-Id: Ic4cf0a4539f0d714a416b61f4635eb6494e89922
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
2022-06-09 09:12:14 +02:00
..
QQmlJSScopeTests QmlCompiler: Fix script indices calculation 2022-06-09 09:12:14 +02:00
data QmlCompiler: Fix script indices calculation 2022-06-09 09:12:14 +02:00
BLACKLIST Disable failing declarative tests on Android 2022-01-31 14:41:39 +02:00
CMakeLists.txt tst_qqmljsscope: Fix test module importing 2022-05-04 22:34:15 +02:00
tst_qqmljsscope.cpp QmlCompiler: Fix script indices calculation 2022-06-09 09:12:14 +02:00