blob: e417fdeee486d3ea6e757a08dfef79f4058ff42f [file]
// RUN_PIPELINE_TILL: FRONTEND
interface I {
val prop: Int
}
open class A {
fun f1() {
this as I
prop
}
fun f2() {
<!UNRESOLVED_REFERENCE!>prop<!>
}
}
open class B {
fun f() {
{
this as I
prop
}
<!UNRESOLVED_REFERENCE!>prop<!>
}
}
/* GENERATED_FIR_TAGS: asExpression, classDeclaration, functionDeclaration, interfaceDeclaration, intersectionType,
lambdaLiteral, propertyDeclaration, smartcast, thisExpression */