JVM_IR: handle property references in SAM conversions
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// FILE: Base.java
|
||||
|
||||
interface Interface {
|
||||
String call(String t);
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
val String.property: String
|
||||
get() = this
|
||||
|
||||
fun box(): String {
|
||||
return Interface(String::property).call("OK")
|
||||
}
|
||||
Reference in New Issue
Block a user