Files
kotlin-fork/compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt
T
Mikhael Bogdanov 8af7a25f8e Update maxStack on synthetic instruction insertion
#KT-19723 Fixed
2017-08-17 20:02:29 +02:00

21 lines
304 B
Kotlin
Vendored

// FILE: 1.kt
package test
inline fun String.fire(message: String? = null) {
val res = this + message!!
}
// FILE: 2.kt
// NO_CHECK_LAMBDA_INLINING
import test.*
fun box(): String {
val receiver = "receiver"
"".let {
{
receiver.fire()
}
}
return "OK"
}