https://kotlinlang.org logo
Title
k

karelpeeters

09/10/2017, 6:54 PM
@trevjones Still works with a default implementation to static method. (I checked the bytecode). I wonder how the Java interop works in this case?
Interop doesn't work at all, I still need to implement it in Java.
t

trevjones

09/10/2017, 7:00 PM
that is what I was thinking. although you could probably call the static method yourself if it is exposed to java. Might be a synthetic thing not exposed? or might be scrambled sort of like what
internal
does to it?
k

karelpeeters

09/10/2017, 7:03 PM
You can use it like this:
MyInterface.DefaultImpls.method(this);
. I'm not really sold on the idea 🙂
It looks like this is the relevant issue: https://youtrack.jetbrains.com/issue/KT-19415