I actually played with Kotlin's type system recent...
# random
d
I actually played with Kotlin's type system recently, and while experimenting discovered I couldn't figure out how to define a method that would accept itself as a its only parameter without using
Any
. I assume it's is not possible because when trying to use generics it's too ambiguous to the compiler, and a concrete type is just impossible (because of the continuously expanding parameter). I'd be interested if anyone could prove me wrong though.