Fix generic signature for KFunctionN types on JVM
#KT-15473 Fixed
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class Foo() {
|
||||
fun test(): String = "OK"
|
||||
}
|
||||
|
||||
fun test(s: () -> String): String {
|
||||
return s()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return test(Foo()::test)
|
||||
}
|
||||
|
||||
// method: FunctionReferenceInvokeKt$box$1::invoke
|
||||
// jvm signature: ()Ljava/lang/String;
|
||||
// generic signature: null
|
||||
Reference in New Issue
Block a user