JVM_IR make proxy funs synthetic, fix some typos

This commit is contained in:
Dmitry Petrov
2021-10-11 18:40:49 +03:00
committed by teamcityserver
parent e0c2a2efd7
commit b184c72e3d
9 changed files with 42 additions and 6 deletions
@@ -0,0 +1,15 @@
// IGNORE_BACKEND: JVM
// FILE: indySamConversionViaProxyFun.kt.kt
fun test() {
use(Sam(String?::plus))
use(Sam(String?::plus))
use(Sam(String?::plus))
}
fun use(s: Sam) {}
// FILE: Sam.java
public interface Sam {
String get(String x, Object y);
}