Test for obsolete KT-8095
#KT-8095 Obsolete
This commit is contained in:
committed by
Max Kammerer
parent
32d51af5dd
commit
378233e1f5
@@ -0,0 +1,7 @@
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
var r = "fail"
|
||||
C("OK").g { r = it }
|
||||
return r
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
class C(private val a : String) {
|
||||
internal inline fun g(x: (s: String) -> Unit) {
|
||||
x(a)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user