Files
kotlin/compiler/testData/codegen/boxInline/anonymousObject/constructorVisibilityInLambda.kt
2018-06-28 12:26:41 +02:00

21 lines
260 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
internal class A {
inline fun doSomething(s: String): String {
return {
s
}()
}
}
// FILE: 2.kt
import test.*
fun box(): String {
return A().doSomething("OK")
}