Basic support for resolving top-level SAM interfaces.

This commit is contained in:
Evgeny Gerashchenko
2013-03-12 18:58:37 +04:00
parent 282c69eb6b
commit 2718f7698c
10 changed files with 168 additions and 15 deletions
@@ -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
}