Don't generate generic signature for get/set methods in property reference class

This commit is contained in:
Michael Bogdanov
2016-10-10 10:32:58 +03:00
parent 5bd045c79c
commit f8e9922c9e
4 changed files with 57 additions and 1 deletions
+15
View File
@@ -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: CallableFunctionKt$box$1::invoke
// jvm signature: ()Ljava/lang/String;
// generic signature: null