279b406bca
#KT-5009 Fixed
11 lines
187 B
Plaintext
Vendored
11 lines
187 B
Plaintext
Vendored
// ERROR: A 'return' expression required in a function with a block body ('{...}')
|
|
|
|
fun foo(): Int {
|
|
val x = 2
|
|
<caret>if (x <= 1) {
|
|
} else {
|
|
bar()
|
|
}
|
|
}
|
|
|
|
fun bar(){} |