89981ecbbb
So #KT-23346 Fixed
10 lines
168 B
Kotlin
Vendored
10 lines
168 B
Kotlin
Vendored
fun test(i: Int) {
|
|
var fn: () -> String
|
|
|
|
<caret>if (i == 1)
|
|
fn = { "foo" }
|
|
else if (i == 2)
|
|
fn = { "bar" }
|
|
else
|
|
fn = { "baz" }
|
|
} |