frogger
05/31/2022, 6:08 AMfun
in used in kotlin but issue no warning in java? We created a “bridge function” for java which should be avoided in kotlin code. I thought it would be nice to show a warning if used accidentally in kotlin code.Rob Elliot
05/31/2022, 6:27 AM@JvmName
to give it a decent name when called from Java?frogger
05/31/2022, 6:33 AMephemient
05/31/2022, 9:22 AMYoussef Shoaib [MOD]
06/02/2022, 11:50 AM@Deprecated
which only deprecates on Kotlin. In fact, Deprecated has an option of WarningLevel.ERROR
(can't remember the exact syntax and I'm on mobile lol)ephemient
06/02/2022, 9:56 PM