diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2022-05-03 17:08:37 +0200 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2022-05-09 16:50:07 +0200 |
commit | a287e862d467b21a8007698f8390088bdf887b44 (patch) | |
tree | 890e9be20d0953a82a312b3a6cd7f464d869c942 /src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp | |
parent | 11d2767f09560c54f1b846e897f74f34b04f04ad (diff) | |
download | qtdeclarative-a287e862d467b21a8007698f8390088bdf887b44.tar.gz |
Fix extension lookup in QQmlJSScope
Do not go over extension's base types since this is not how the engine
logic work. Instead, only assess the direct extension type when
traversing the base type hierarchy. The special cases are value types
which still need base type extension traversal (e.g. due to Number
and NumberPrototype extensions on primitives) and QObject type itself
(we expect to see ObjectPrototype properties / methods of it)
Pick-to: 6.3 6.2
Change-Id: I92ba979202b33f16e1a7b948d4f1e79df37f2669
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp')
0 files changed, 0 insertions, 0 deletions