blob: d5af68e3b8eb57951200e8199047de92cee6d3b7 [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-68531
enum class Some {
A {
init {
<!VAL_REASSIGNMENT!>A<!> = null!!
<!VAL_REASSIGNMENT!>B<!> = null!!
}
},
B {
init {
<!VAL_REASSIGNMENT!>A<!> = null!!
<!VAL_REASSIGNMENT!>B<!> = null!!
}
};
init {
<!VAL_REASSIGNMENT!>A<!> = null!!
<!VAL_REASSIGNMENT!>B<!> = null!!
}
}
fun test() {
Some.<!VAL_REASSIGNMENT!>A<!> = null!!
Some.<!VAL_REASSIGNMENT!>B<!> = null!!
}
/* GENERATED_FIR_TAGS: assignment, checkNotNullCall, enumDeclaration, enumEntry, functionDeclaration, init */