Support fun interfaces in kotlinx-metadata

#KT-37421 Fixed
This commit is contained in:
Alexander Udalov
2020-05-12 20:35:26 +02:00
parent c805274d2e
commit 4520e02bae
16 changed files with 78 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
fun interface F {
fun String.f(x: Int)
}
+13
View File
@@ -0,0 +1,13 @@
// F.class
// ------------------------------------------
public abstract fun interface F : kotlin/Any {
// signature: f(Ljava/lang/String;I)V
public abstract fun kotlin/String.f(x: kotlin/Int): kotlin/Unit
// module name: test-module
}
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
}