JVM IR: cast indy-SAM receiver type from KFunctionN to FunctionN
#KT-46512 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
124bd559de
commit
d306d8a90e
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: WASM
|
||||
|
||||
class C : Comparable<C> {
|
||||
override fun compareTo(other: C): Int = 0
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val comparator = Comparable<C>::compareTo
|
||||
return if (nullsFirst(comparator).compare(C(), C()) == 0) "OK" else "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user