Files
kotlin-fork/idea/idea-completion/testData/keywords/ElseAfterBlocklessIf.kt
T
Simon Ogorodnik 6e8406f73c Fix completion of 'else' keyword
#KT-14665 fixed
2017-04-25 14:44:24 +03:00

8 lines
92 B
Kotlin
Vendored

fun foo(p: Int) {
var x = 0
if (p > 0)
x += p
el<caret>
}
//EXIST: else