FIC: support fun interfaces in stub builder

This commit is contained in:
Mikhail Zarechenskiy
2019-12-19 13:41:48 +03:00
parent 70094884ca
commit 8206cadce2
13 changed files with 143 additions and 15 deletions
@@ -0,0 +1,13 @@
package test
class FunInterfaceDeclaration {
@Suppress("UNSUPPORTED_FEATURE")
fun interface KRunnable {
fun invoke()
}
@Suppress("UNSUPPORTED_FEATURE")
fun interface GenericKRunnable<T, R> {
fun invoke(t: T): R
}
}