aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-08-24 16:02:00 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-08-25 20:36:46 +0200
commitf839171eefbba670536262fa3b847d24bfdc627b (patch)
tree0aef06db416563827580762930910022b7623086 /src/qml/compiler/qv4codegen.cpp
parent555125416eb1a12e15dddb57207ce7d87751a64b (diff)
QmlCompiler: Allow creation of actual QVariantMaps from object literals
There are places where we need this: a, If the method in question actually takes a QVariantMap as argument. b, If the resulting value can be shadowed. In that case we expect a QVariant. The engine has to internally convert to the expected type then. Change-Id: Ic5b3faab4578d64ca757de644fe69660fd70e52a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions