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
+13
View File
@@ -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: CallablePropertyKt$box$1::get
// jvm signature: ()Ljava/lang/Object;
// generic signature: null