Basic support for resolving top-level SAM interfaces.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public interface Runnable {
|
||||
void run();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function : () -> jet.Unit) : test.Runnable
|
||||
|
||||
public trait Runnable : java.lang.Object {
|
||||
public abstract fun run() : jet.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user