Hello Kotlin Team,
I am enjoying Kotlin immensely, thank you. It’s truly the Java that we always wanted!
There is one error that keeps happening for me and I think it’s an easy mistake to make. Maybe there could be a compiler / linter warning when you do this:
logger.info { "selectableImages: $selectableImages.size"}
The dot strongly suggest you want “size” in your String but what you actually get is a toString() of “selectableImages” followed by “.size”. It’s fine that it works this way but I think it’s a common source of error that merrits a warning of some kind.
Thanks for your consideration!
Kind Regards