diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-19 11:19:01 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-24 16:49:06 +0200 |
commit | b7f4779ccbf39f063ff38f72aecaeaa8b58bc759 (patch) | |
tree | 550d7c1d10edec33a31876bc414690f926fbca02 /src/qml/common | |
parent | 5fdd8793c2adc7c2c93f5d02ef33044dc784afa4 (diff) |
QmlCompiler: Perform return value assignment inside generated code
This is in preparation for using exact types and actually enforcing
them. We shouldn't wrap the return value into a QVariant in order to
then painstakingly unwrap it again. The generated code can already do
the right thing.
Task-number: QTBUG-119885
Change-Id: I13e517967ee982be717024a9abb74d5e02a185d6
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/common')
-rw-r--r-- | src/qml/common/qv4compileddata_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/common/qv4compileddata_p.h b/src/qml/common/qv4compileddata_p.h index 784e3e5444..caedd8928e 100644 --- a/src/qml/common/qv4compileddata_p.h +++ b/src/qml/common/qv4compileddata_p.h @@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE // Also change the comment behind the number to describe the latest change. This has the added // benefit that if another patch changes the version too, it will result in a merge conflict, and // not get removed silently. -#define QV4_DATA_STRUCTURE_VERSION 0x40 // Switch the "sticky" and "unicode" regexp flags +#define QV4_DATA_STRUCTURE_VERSION 0x41 // Change signature of AOT compiled functions class QIODevice; class QQmlTypeNameCache; |