[AA] an expression in delegated super entry is used as expression

^KT-65665 fixed
This commit is contained in:
Anna Kozlova
2024-02-12 11:16:48 +01:00
committed by Space Team
parent 7702374dbd
commit 932ad3e2c1
7 changed files with 35 additions and 0 deletions
@@ -0,0 +1,5 @@
interface I
class Delegating : I by <expr>compoundDelegate()</expr>
fun compoundDelegate(): I {
return object : I {}
}
@@ -0,0 +1,3 @@
expression: CALL_EXPRESSION
text: compoundDelegate()
isUsedAsExpression: true