mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
19 lines
262 B
Kotlin
Vendored
19 lines
262 B
Kotlin
Vendored
fun test() {
|
|
{
|
|
{}()
|
|
}()
|
|
}
|
|
|
|
inline fun ifun(s: () -> Unit) {
|
|
s()
|
|
}
|
|
|
|
fun test2() {
|
|
var z = 1;
|
|
ifun {
|
|
{ z = 2 }()
|
|
}
|
|
}
|
|
|
|
// 1 class DeleteClassOnTransfromationKt\$test\$1\$1
|
|
// 0 class DeleteClassOnTransfromationKt\$test2\$1\$1 |