Closed njazz closed 3 years ago
This happend cause mlist output not Mlist itself, but just pointer to stored Mlist. So it always output the same pointer. To solve this problem in general: we should add [data.copy] object, that makes copy.
RTree generation becames more complex, but I think we could add convenient object for such common case.
yes, that's what i expected to be the reason for that in my opinion: it would be great to have an option in [list.gen] and all similar objects - like @copy-data or anything because we don't expect this kind of behaviour for other data types and probably have [data.copy] too with explanations in our data types description - i think this (object reference) behaviour is quite expected when you know how externals work but may be less predictable for new users thanks
in this case the result stores only final value of the element in the list.gen