Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.0
-
None
Description
The following example shows two definitions of "object" in a ListModel, neither of which give any errors
ListModel { id: listModel ListElement { object: ListElement { name: "john" } } ListElement { object { name: "sara" } } }
in a binding, model.object is found, but model.object.name returns undefined.
ListModel should either error on the above syntax, or work properly when accessing the values (ideally the former for now, and the latter in a later version).