mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
- Do not treat if without else as values - Some statements aren't contained in block (see tests) #KT-14107 Fixed #KT-14110 Fixed
5 lines
65 B
Kotlin
Vendored
5 lines
65 B
Kotlin
Vendored
fun foo(x: Int, y: Int) {
|
|
if (x > y)
|
|
x.sout<caret>
|
|
}
|