Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.3, 6.8, 6.9
-
None
-
77a20c00e (dev), c4e64d082 (6.8)
Description
Type assertions ("as-casts") fail for inline components if there are no function that takesĀ that type as an argument. Adding such a function makes the assertion succeed; the function does not need to be called. This also seems to apply to types defined in local QML files.
To reproduce, run the attached bug.qml file with the qml tool.