d5f24addea
Previously, the call of `z.sort` in test has been resolved to the overridden member
16 lines
642 B
Kotlin
Vendored
16 lines
642 B
Kotlin
Vendored
// FULL_JDK
|
|
// FIR_IDENTICAL
|
|
// WITH_STDLIB
|
|
|
|
class A<T> : ArrayList<T>() {
|
|
override fun sort(t: Comparator<in T>) {
|
|
super.sort(t)
|
|
}
|
|
}
|
|
|
|
fun foo(x: MutableList<String>, y: ArrayList<String>, z: A<String>, c: Comparator<String>) {
|
|
x.<!DEBUG_INFO_CALL("fqName: kotlin.collections.sort; typeCall: inline extension function")!><!DEPRECATION_ERROR!>sort<!>(c)<!>
|
|
y.<!DEBUG_INFO_CALL("fqName: kotlin.collections.sort; typeCall: inline extension function")!><!DEPRECATION_ERROR!>sort<!>(c)<!>
|
|
z.<!DEBUG_INFO_CALL("fqName: kotlin.collections.sort; typeCall: inline extension function")!><!DEPRECATION_ERROR!>sort<!>(c)<!>
|
|
}
|