aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels/qqmldmlistaccessordata_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-02-16 15:08:20 +0100
committerUlf Hermann <ulf.hermann@qt.io>2024-02-21 14:27:54 +0100
commite2611e8ee948b32a627277bb9783ce8f35cc2d69 (patch)
tree90ad5f6083f1ebd1c9b9402cea7e6c4b3b53652f /src/qmlmodels/qqmldmlistaccessordata_p.h
parent49dc279bdcfb121089aabb86d6475e371a8f9430 (diff)
QmlCompiler: Fix conditions around as casts
We can only generate an as-cast from an optional value type if we know that the optional type is actually the requested one. Otherwise we have to reject for now. We might add more logic here in a further iteration, and process more complicated type assertions. However, we should pick such logic back to 6.6. Amends commit 05f56d7c78754855c643470ad4e8dfd35c96f927. Pick-to: 6.7 6.6 Change-Id: I37fc1b6018bfb0663e5ce4fd80084c7d13c6d3e3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Diffstat (limited to 'src/qmlmodels/qqmldmlistaccessordata_p.h')
0 files changed, 0 insertions, 0 deletions