Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
Description
QQmlJSScope::canAssign() acts as a type matching function between a property type and an object type. It seems to have issues at the moment:
- If the usage stays as it is, rather consider putting this function into QQmlJSMetaProperty
- String conversions must be handled eventually (currently they are ignored completely)
- The QQmlComponent check within the function feels wrong. Additionally, we should acknowledge implicit component types (types wrapped in QQmlComponent) when checking whether the types match