Fix generic signature for KFunctionN types on JVM

#KT-15473 Fixed
This commit is contained in:
Alexander Udalov
2016-12-29 19:15:47 +03:00
parent bf3b5281a9
commit 0dbb02ec6a
12 changed files with 152 additions and 58 deletions
@@ -0,0 +1,13 @@
class Foo(val a: String)
fun test(s: () -> String): String {
return s()
}
fun box(): String {
return test(Foo("OK")::a)
}
// method: PropertyReferenceGetKt$box$1::get
// jvm signature: ()Ljava/lang/Object;
// generic signature: null