blob: e1eb89bb81d13ef48607363bd903700d26b8e4da [file]
// RUN_PIPELINE_TILL: BACKEND
//KT-48116
//WITH_STDLIB
fun foo() {
var tokenType: String? = null
while (true) {
FindTagEnd@ while (tokenType.let { it != null && it !== "XML_END_TAG_START" }) {
if (tokenType === "XML_COMMENT_CHARACTERS") {
// we should terminate on first occurence of </
val end = tokenType
for (i in <!DEBUG_INFO_SMARTCAST!>tokenType<!>) {
if (i == ' ') {
break@FindTagEnd
}
}
}
tokenType = "abc"
}
}
}
/* GENERATED_FIR_TAGS: andExpression, assignment, break, equalityExpression, forLoop, functionDeclaration, ifExpression,
lambdaLiteral, localProperty, nullableType, propertyDeclaration, smartcast, stringLiteral, whileLoop */