diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2022-10-12 11:28:30 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-10-12 20:43:34 +0200 |
| commit | 1a0c4094e0fce8693a4653a9b3cb80f832865495 (patch) | |
| tree | 79a0cd20c490c938fc8f7f429a8d16f72b9d5884 /src/qml/jsruntime/qv4referenceobject.cpp | |
| parent | 29b3cbb983d864b21119dbcb58129db2c93c99c3 (diff) | |
QmlCompiler: Properly check contained type for enums
In case of an enum the actual contained type is the one the enum
dictates. This brings registerContains() in line with containedType()
and makes it possible to match previously discovered types on subsequent
passes of the type propagator. Therefore, it avoids infinite loops where
the same types would be tracked over and over.
Pick-to: 6.4
Fixes: QTBUG-107176
Fixes: QTBUG-107542
Change-Id: I4b8d66b157d0ec0ece4ca345cb99a630b8898a1b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/jsruntime/qv4referenceobject.cpp')
0 files changed, 0 insertions, 0 deletions
