blob: 2d652c4b63ed19a3e95ae8e414d2bcf23e71cb46 [file]
// RUN_PIPELINE_TILL: FRONTEND
// See KT-17479
class Test {
val str: String
init {
run {
this@Test.str = "A"
}
run {
// Not sure do we need diagnostic also here
this@Test.<!VAL_REASSIGNMENT!>str<!> = "B"
}
<!VAL_REASSIGNMENT!>str<!> = "C"
}
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, init, lambdaLiteral, propertyDeclaration, stringLiteral,
thisExpression */