BigHugger
sk Skill · maxrave-dev

jvmname-disambiguate-erased-overloads

Resolve two extension functions that differ only in their generic receiver's type argument and so compile to a single JVM method, using @JvmName on one of them. Covers what the annotation changes, why it beats renaming the Kotlin function, and what non-Kotlin callers see afterwards. Use when the compiler reports a platform declaration clash between declarations you can plainly see are different, when adding a second…

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
kotlinbash
Host repository
maxrave-dev/kotlin-footguns
Host stars
541