You cannot do that for functions. But there is KEE...
# announcements
g
You cannot do that for functions. But there is KEEP proposal about this - https://github.com/Kotlin/KEEP/pull/89
e
Good to know that there are people having this though, hope it can come true in the future
g
It’s actually little bit different case, this keep proposed feature that allow to delegate call to another function. In your case you just want to have field with overloaded method reference
e
If this KEEP can support overloaded functions than it may fit my need
g
There is no magic way to distingue between overloaded functions with the same name, it’s just impossible, you should somehow specify which version do you want
So, solution - just specify property type explicitly