[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,6 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// FIR status: REPEATED_ANNOTATION at val y9; fir2ir produces an IrFunctionReference of type KProperty0 instead of an IrPropertyReference
// WITH_REFLECT
// WITH_STDLIB
// FILE: J.java
@@ -34,6 +32,6 @@ fun box(): String {
val y6 by @Anno() (((j2)::value))
val y7 by (@Anno() ((j2)::value))
val y8 by ((@Anno() (j2)::value))
val y9 by @Anno() ((@Anno() (j2)::value))
val y9 by @Anno() (j2)::value
return x + y
}