blob: 68d648876d78accdfc91c2db1527c8925bf7e229 [file]
// RUN_PIPELINE_TILL: BACKEND
interface Foo {
fun bar(): Int
}
val x by lazy {
val foo = object : Foo {
override fun bar(): Int = 42
}
foo.bar()
}
/* GENERATED_FIR_TAGS: anonymousObjectExpression, functionDeclaration, integerLiteral, interfaceDeclaration,
lambdaLiteral, localProperty, nullableType, override, propertyDeclaration, propertyDelegate */