https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
i

ilya.gorbunov

01/16/2018, 3:29 PM
Copy code
myList[myList.indexOf(itemToReplace)] = newItem // oops, accidentally modified last item instead of failing on missing itemToReplace
10