FIC: Make SAM conversions also for fun interfaces, add base test

This commit is contained in:
Mikhail Zarechenskiy
2019-11-13 13:44:23 +03:00
parent 193d807a1e
commit c71c1d45c6
8 changed files with 85 additions and 10 deletions
@@ -0,0 +1,11 @@
package
public fun foo(/*0*/ f: Foo): kotlin.Unit
public fun test(): kotlin.Unit
public interface Foo {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public abstract fun invoke(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}