Test with SAM adapter for method inherited/overriding other from Kotlin.
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
public open class Sub : test.Super {
|
||||
public constructor Sub()
|
||||
internal final override /*1*/ /*fake_override*/ fun foo(/*0*/ r: java.lang.Runnable): jet.Unit
|
||||
}
|
||||
|
||||
public final class Super {
|
||||
public constructor Super()
|
||||
internal final fun foo(/*0*/ r: java.lang.Runnable): jet.Unit
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
|
||||
public class Sub extends Super {
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public class Super {
|
||||
fun foo(r: Runnable)
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
public open class Sub : test.Super {
|
||||
public constructor Sub()
|
||||
public open /*synthesized*/ fun foo(/*0*/ r: () -> jet.Unit): jet.Unit
|
||||
public open override /*1*/ fun foo(/*0*/ r: java.lang.Runnable): jet.Unit
|
||||
}
|
||||
|
||||
public final class Super {
|
||||
public constructor Super()
|
||||
internal final fun foo(/*0*/ r: java.lang.Runnable): jet.Unit
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
public class Sub extends Super {
|
||||
public void foo(Runnable r) {
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public class Super {
|
||||
fun foo(r: Runnable)
|
||||
}
|
||||
Reference in New Issue
Block a user