https://kotlinlang.org logo
e

ean5533

09/02/2016, 4:31 AM
In your situation, what you could do instead is this (though it's a bit convoluted):
item.copy(dataInstance = item.dataInstance.copy(string = "yo"))