Change Signature: Process Kotlin-side calls of Java methods overriding Kotlin declarations

This commit is contained in:
Alexey Sedunov
2015-04-14 14:53:10 +03:00
parent 58bee8c57f
commit 6e2076d602
3 changed files with 34 additions and 0 deletions
@@ -4,4 +4,11 @@ open class A {
class B: A() {
override fun foo(n: Int, s: String, o: Any?): String = ""
}
fun test() {
A().foo(1, "abc", "def")
B().foo(2, "abc", "def")
X().foo(3, "abc", "def")
Y().foo(4, "abc", "def")
}