eddie
08/01/2018, 7:33 PM@TargetName
annotation for that. I'm referring more to also exposing things like @JvmField, @JvmStatic, @JvmOverloads, etc. Why do those belong in common code?Ruckus
08/01/2018, 7:39 PMfun List<Vector2>.bounds() = ...
fun List<Vector3>.bounds() = ...
Kotlin can handle those two functions just fine, but they cannot be statically resolved on the JVM, so I want them to be renamed (only on the JVM) to bounds2d()
and bounds3d()
.
How would I do that if I can't use the annotation in common code?eddie
08/01/2018, 7:52 PMagrosner
08/01/2018, 8:33 PMRuckus
08/01/2018, 10:13 PM...wouldn't that indicate that you're exposing implementation details that should be kept within the respective platform modules?When it comes right down to it, I guess I don't agree with this claim, but I may just have a different way of looking at it.