87b628a3f7
(cherry picked from commit 462bdb2) #KT-6477 Fixed
16 lines
197 B
Kotlin
Vendored
16 lines
197 B
Kotlin
Vendored
fun foo() {
|
|
foo({
|
|
val a = 1
|
|
})
|
|
|
|
foo() {
|
|
val a = 1
|
|
}
|
|
}
|
|
|
|
inline fun foo(f: () -> Unit) {
|
|
val a = 1
|
|
f()
|
|
}
|
|
|
|
// 2 17 18 3 4 19 +6 20 21 7 8 22 +9 12 13 14 |