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?
10/07/2023, 8:45 AM
I don't know and I'm considered to be the Kotlin specialist of the company I'm working at. So I'd say it's safe to gloss over this 🤷♂️