diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-02-24 08:56:56 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-02-24 12:16:41 +0100 |
commit | 78e3b774ad2a29e5d29029935661c362ee7e1a92 (patch) | |
tree | 7fea205c2ea1cc013d91b2a26b1c5ca6129564bf /tests | |
parent | a7925b9a7dc43661cd1d9835b91088142bf77816 (diff) |
QmlCompiler: Don't assert for the "int" type if we don't need it
If there are no enums in a type, we don't need the int type to resolve
them. This is commonly the case for sequence types.
Change-Id: I18b2960ef845ef797b6ef6d755648e6add1854db
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/typedArray.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/typedArray.qml b/tests/auto/qml/qmlcppcodegen/data/typedArray.qml index d2ab3d6f1b..0072357ae3 100644 --- a/tests/auto/qml/qmlcppcodegen/data/typedArray.qml +++ b/tests/auto/qml/qmlcppcodegen/data/typedArray.qml @@ -2,5 +2,6 @@ pragma Strict import QtQml QtObject { + property list<bool> values1: [] property list<int> values2: [] } |