blob: 1f1f065fa4bb2b6d9db837472e739954f0a378a5 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-68803
interface Foo<out T> {
val foo: T
}
interface ImplA<T> {
val fooOrNull: T?
get() = if (this is Foo<*>) {
@Suppress("UNCHECKED_CAST")
foo as T
} else null
}
/* GENERATED_FIR_TAGS: asExpression, getter, ifExpression, interfaceDeclaration, intersectionType, isExpression,
nullableType, out, propertyDeclaration, smartcast, starProjection, stringLiteral, thisExpression, typeParameter */