diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-01-12 15:41:24 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-01-17 19:53:06 +0100 |
commit | 0790bc85a121275a0fd48090706b72a28b51f1e0 (patch) | |
tree | 3b0a8846771fffb815da002f7388dfc436ef70d6 /src/qml/jsruntime/qv4sequenceobject.cpp | |
parent | c2598d344dfeb339ef791380737c9ad660151896 (diff) | |
download | qtdeclarative-0790bc85a121275a0fd48090706b72a28b51f1e0.tar.gz |
qmlcompiler: Add proper null type
Previously we treated null as a generic primitive value (in functions)
or as a var type (in literal bindings), this change ends this practice
by introducing an uniform null type used everywhere and defined in
builtins.
Now we can also properly warn about setting properties to null if they
aren't variants.
Fixes: QTBUG-98409
Change-Id: If32420a59948696491f24521bbc0f251095a9699
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
0 files changed, 0 insertions, 0 deletions