Signature comparison used to find super functions in SignaturesPropagationData
#KT-4509 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class K1 : J() {
|
||||
override fun foo(l: MutableList<String>): String
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
public open class J : test.K {
|
||||
public constructor J()
|
||||
public open override /*1*/ fun foo(/*0*/ l: kotlin.MutableList<kotlin.String>): kotlin.String
|
||||
}
|
||||
|
||||
internal trait K {
|
||||
public abstract fun foo(/*0*/ l: kotlin.MutableList<kotlin.String>): kotlin.String
|
||||
}
|
||||
|
||||
internal final class K1 : test.J {
|
||||
public constructor K1()
|
||||
public open override /*1*/ fun foo(/*0*/ l: kotlin.MutableList<kotlin.String>): kotlin.String
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class J implements K {
|
||||
public String foo(List<String> bar) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
trait K {
|
||||
public fun foo(l: MutableList<String>): String
|
||||
}
|
||||
Reference in New Issue
Block a user