[FIR2IR] Fix synthetic property reference in delegate expression

This commit is contained in:
Ivan Kochurkin
2022-01-25 21:06:18 +03:00
committed by teamcity
parent a398f7d6cb
commit 8a8bdc9ff4
7 changed files with 54 additions and 32 deletions
@@ -1,8 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// FIR status: V
// Caused by: java.lang.AssertionError: Unexpected IR element found during code generation. Either code generation for it is not implemented, or it should have been lowered:
// FUNCTION_REFERENCE 'public open fun getFoo (): @[FlexibleNullability] kotlin.String? declared in <root>.J' type=kotlin.reflect.KMutableProperty0<@[FlexibleNullability] kotlin.String?> origin=null reflectionTarget=<same>
// WITH_STDLIB
// MODULE: jjj