qtdeclarative/tests/auto/qml/qmlcppcodegen/data/imports
Ulf Hermann c12f0f07f5 QmlCompiler: Improve ambiguous type detection
When detecting an ambiguous type, we need to invalidate the entry in the
list of types, rather than delete it. If we delete it and we get yet
another version of the type, we'll add that one just like it was not
ambiguous.

Furthermore, we cannot check the type name when looking for ambiguity.
The QML name can be bent and twisted in various ways, to import
ambiguous-looking types under different names, so that they are actually
not ambiguous.

Pick-to: 6.2 6.3
Fixes: QTBUG-102153
Change-Id: Iee7951229c5f68b168899e55164e8cf91587eec1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-04-01 20:58:49 +02:00
..
Ambiguous QmlCompiler: Improve ambiguous type detection 2022-04-01 20:58:49 +02:00
Module Compile QML files ahead of time with qmlcachegen 2021-12-03 12:09:26 +01:00
QmlBench Compile QML files ahead of time with qmlcachegen 2021-12-03 12:09:26 +01:00