blob: f71ad4d9dca60ad21235455a5bf86f7237add9b6 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// See KT-10276
class Bar() {
var test: String? = null
fun foo() {
if (test != null) {
// No warning: test is a mutable property
test?.hashCode()
}
}
}
/* GENERATED_FIR_TAGS: classDeclaration, equalityExpression, functionDeclaration, ifExpression, nullableType,
primaryConstructor, propertyDeclaration, safeCall, smartcast */