Files
kotlin-fork/idea/testData/codeInsight/postfix/soutInIf.kt
T
Denis Zharkov 0120085443 Refine expression kind definition in postfix templates
- Do not treat if without else as values
- Some statements aren't contained in block (see tests)

 #KT-14107 Fixed
 #KT-14110 Fixed
2016-10-03 10:36:48 +03:00

5 lines
65 B
Kotlin
Vendored

fun foo(x: Int, y: Int) {
if (x > y)
x.sout<caret>
}