blob: 99e0190a015d9431c250a7021ea7671bed74c36a [file]
// RUN_PIPELINE_TILL: BACKEND
data class StringPair(val first: String, val second: String)
infix fun String.to(second: String) = StringPair(this, second)
fun f(a: String?) {
if (a != null) {
val b: StringPair = a to a
}
}
/* GENERATED_FIR_TAGS: classDeclaration, data, equalityExpression, funWithExtensionReceiver, functionDeclaration,
ifExpression, infix, localProperty, nullableType, primaryConstructor, propertyDeclaration, smartcast, thisExpression */