Files
kotlin/idea/testData/quickfix/createLabel/continueNoLoop.kt
Mikhail Glukhikh d08b18f5f8 Introduce "use expression body" inspection #KT-16063 Fixed
Converted from the relevant intention
Reported cases: one-liners, whens
Also, more exact caret detection in local inspection tests
2017-07-07 18:15:06 +03:00

7 lines
157 B
Kotlin
Vendored

// "Create label foo@" "false"
// ERROR: The label '@foo' does not denote a loop
// ERROR: Unresolved reference: @foo
fun test() {
continue@<caret>foo
}