https://bugs.kde.org/show_bug.cgi?id=383611

RJVB <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
         Resolution|WAITINGFORINFO              |INVALID

--- Comment #3 from RJVB <[email protected]> ---
Doh, yes I guess I do and this is me getting the lid on the nose :)

Sorry for the noise...

Now, is there anything useful/interesting to be learned from that additional
size information, when `data` is not a TypeSystem instance (if that ever
happens)?

--- a/language/duchain/types/typeregister.cpp
+++ b/language/duchain/types/typeregister.cpp
@@ -61,7 +61,8 @@ bool TypeSystem::isFactoryLoaded(const AbstractTypeData&
data) const
 bool TypeSystem::ensureFactoryLoaded(const AbstractTypeData& data) const
 {
   if (!m_factories.contains(data.typeClassId)) {
-    qCWarning(LANGUAGE) << "Factory for this type not loaded:" <<
data.typeClassId;
+    qCWarning(LANGUAGE) << "Factory for this type not loaded:" <<
data.typeClassId
+        << "classSize=" << data.classSize() << "itemSize=" << data.itemSize();
     Q_ASSERT(false);
     return false;
   }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to