blob: d2b319fdb9e2aaefa11619897cb7dffe028934bc [file]
// RUN_PIPELINE_TILL: CODEGEN
interface A {
val list: List<String>
}
interface B {
val list: MutableList<String>
}
fun B.foo(a: A?) {
list.plusAssign(mutableListOf(""))
with(a) {
list.plusAssign(mutableListOf(""))
list += mutableListOf("")
}
}
/* GENERATED_FIR_TAGS: funWithExtensionReceiver, functionDeclaration, interfaceDeclaration, lambdaLiteral, nullableType,
propertyDeclaration, stringLiteral */