That will need to trace back to another question(o...
# announcements
e
That will need to trace back to another question(or bug maybe?), let say I have two list<T>
Copy code
val list_a = listOf<T>(..)
val list_b = listOf<T>(...)
list_a.clear()
list_a.addAll(list_b)
In this case list_a will only contain shallow copies, using
.copy()
seems to be able to give me a new instance( but I know empty
.copy
should return the same instance).