Ian
01/04/2017, 3:20 PMval aList = ArrayList<Int>()
with ("a string") {
with (aList) {
add(length) // Adds the length of "a string" to aList
}
}
Interestingly, no error occurs if there is a matching method on both receiver types - I’m guessing in this case the inner receiver-type takes precedence?