Dominaezzz
12/19/2018, 9:03 PMCollection<...>
. The only difference is one is on Collection<String>
and the other is Collection<Closeable>
. IntelliJ complains they have the same signature on JVM. Even though they are inline functions?Shawn
12/19/2018, 9:10 PMDominaezzz
12/19/2018, 9:10 PMr4zzz4k
12/19/2018, 9:14 PMDominaezzz
12/19/2018, 9:18 PMr4zzz4k
12/19/2018, 9:22 PMDominaezzz
12/19/2018, 9:24 PMr4zzz4k
12/19/2018, 9:30 PM@JvmName("doWorkOnStrings")
fun Collection<String>.doWork()
@JvmName("doWorkOnCloseables")
fun Collection<Closeable>.doWork()
Dominaezzz
12/19/2018, 9:30 PMr4zzz4k
12/19/2018, 9:31 PMr4zzz4k
12/19/2018, 9:31 PM