blob: c04f6767afc11015f87c3d5c91c73237ad2be0cd [file]
// RUN_PIPELINE_TILL: BACKEND
class Wrapper<T>(var x: T)
inline fun <reified T> change(w: Wrapper<T>, x: Any?) {
if (x is T) {
w.x = <!DEBUG_INFO_SMARTCAST!>x<!>
}
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, ifExpression, inline, isExpression,
nullableType, primaryConstructor, propertyDeclaration, reified, smartcast, typeParameter */