Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2
-
88aea5173f5bb7d900a4a3220ba44a2632262624 (qt/qtdeclarative/dev) 482aed2e033cd75be3f07a965dcaa7f3722b2395 (qt/qtdeclarative/6.2)
Description
example:
QtObject {
property string blockSrc: "Something.qml"
property Component blockComponent: Qt.createComponent(blockSrc)
}
generates:
// generate_CallPropertyLookup { r2_1 = {}; void *args[] = { nullptr, &r10_1 }; const QMetaType types[] = { QMetaType(), QMetaType::fromType<QString>() }; while (!aotContext->callObjectPropertyLookup(6, r7_1, args, types, 1)) { aotContext->setInstructionPointer(8); aotContext->initCallObjectPropertyLookup(6); if (aotContext->engine->hasError()) return static_cast<QObject *>(nullptr); } } { } { } // generate_Ret if (r2_1.type() == QJSPrimitiveValue::Undefined) aotContext->setReturnValueUndefined(); return static_cast<QObject *>(nullptr);
Obviously this makes no sense.