Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.9.0
-
None
Description
QQmlComponentAndAliasResolver<QQmlTypeCompiler>::resolveAliasesInObject) currently amends the Aliases in the QML IR. This is somewhat bad style. We should
- Populate aliases already at compile time with all information available then
- Move information not available at compile time into the property cache.
The bits left here are:
- targetObjectId
- isAliasToLocalAlias
- the AliasPointsToPointerObject flag (do we actually need it?)
- localAliasIndex
- idIndex
It's a good idea to compare with the implementation of QQmlComponentAndAliasResolver for QV4::CompiledData::CompilationUnit since that one only has const Aliases anyway and needs to do the same work.