JVM_IR. Support inlining of bound CR
This commit is contained in:
compiler/testData/codegen/boxInline/callableReference/bound/inlineValueParameterInsteadOfReceiver.kt
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
class Z
|
||||
|
||||
class Q {
|
||||
inline fun f(z: Z) = "OK"
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
return Z().run(Q()::f)
|
||||
}
|
||||
Reference in New Issue
Block a user