Inline callable references
#KT-6900 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class A(val z: Int) {
|
||||
fun calc() = z
|
||||
}
|
||||
|
||||
inline fun call(p: Int, s: (Int) -> A): Int {
|
||||
return s(p).z
|
||||
}
|
||||
Reference in New Issue
Block a user