Hello!
I’m new to kotlin and want to understand next statement from the documentation:
“Prior to Kotlin 1.4, to generate default methods, you could use the @JvmDefault annotation on these methods. Compiling with -Xjvm-default=all in 1.4+ generally works as if you annotated all non-abstract methods of interfaces with @JvmDefaultand compiled with -Xjvm-default=enable. However, there are cases when their behavior differs”
What cases they are talking about?
Could somebody explain me the difference please?
Thank you