Files
kotlin-fork/compiler/testData/diagnostics/tests/controlStructures/ForWithoutBraces.kt
T

10 lines
187 B
Kotlin
Vendored

// FIR_IDENTICAL
// http://youtrack.jetbrains.net/issue/KT-552
// KT-552 For variable unresolved if loop body is not block
fun ff() {
var i = 1
for (j in 1..10)
i += j
}