Fré Dumazy
10/06/2017, 8:10 AM<T: MyObject> myMethod(arg: MyWrapper<T>)
and
<T: MyObject> myMethod(arg: MyWrapper<Array<T>>)
If I try this in 2 methods with the same name, it says "The following declarations have the same JVM signature"diesieben07
10/06/2017, 8:12 AM@JvmName
and provide an alternative platform name to use.Fré Dumazy
10/06/2017, 8:17 AMkarelpeeters
10/06/2017, 8:17 AMFré Dumazy
10/06/2017, 8:21 AMgildor
10/06/2017, 8:23 AMmannodermaus
10/06/2017, 8:28 AM@JvmName
approach to getting around the limitation is actually pretty genius and handy, esp. if you don’t have to interop