blob: 55d40aa5537beb185378fe19be3b217c5b0c081a [file]
// RUN_PIPELINE_TILL: CODEGEN
// DIAGNOSTICS: -UNUSED_VARIABLE
fun foo() {
open class Local {
val my: Int = 2
get() = field
}
val your = object: Local() {
val your: Int = 3
get() = field
}
}
/* GENERATED_FIR_TAGS: anonymousObjectExpression, classDeclaration, functionDeclaration, getter, integerLiteral,
localClass, localProperty, propertyDeclaration */