| // RUN_PIPELINE_TILL: FRONTEND | |
| // FIR_IDENTICAL | |
| // DIAGNOSTICS: -UNUSED_PARAMETER | |
| import kotlin.reflect.KProperty | |
| class B { | |
| val a: Int by Delegate() | |
| fun foo() =<!SYNTAX!><!> <!SYNTAX!>$a<!> | |
| } | |
| class Delegate { | |
| operator fun getValue(t: Any?, p: KProperty<*>): Int { | |
| return 1 | |
| } | |
| } | |
| /* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, nullableType, operator, | |
| propertyDeclaration, propertyDelegate, starProjection */ |