Added tests with SAM adapter inherited in Kotlin class.

This commit is contained in:
Evgeny Gerashchenko
2013-06-20 20:47:21 +04:00
parent 5c3577dfed
commit f4c3a89408
7 changed files with 61 additions and 1 deletions
@@ -0,0 +1,13 @@
package test
public final class Sub : test.Super {
public constructor Sub()
internal open override /*1*/ /*fake_override*/ fun foo(/*0*/ r: (() -> jet.Unit)?): jet.Unit
internal open override /*1*/ /*fake_override*/ fun foo(/*0*/ r: java.lang.Runnable?): jet.Unit
}
public open class Super : java.lang.Object {
public constructor Super()
public/*package*/ open /*synthesized*/ fun foo(/*0*/ r: (() -> jet.Unit)?): jet.Unit
public/*package*/ open fun foo(/*0*/ r: java.lang.Runnable?): jet.Unit
}
@@ -0,0 +1,4 @@
package test
public class Sub: Super() {
}
@@ -0,0 +1,5 @@
package test;
public class Super {
void foo(Runnable r);
}