KT UAST: always preserve receiver expression of class literal

...similar to dbaaeef (for callable reference).

This time, only receiver expression is discarded if type is resolvable.
Similarly, Java UAST counterpart has both information always.

GitOrigin-RevId: fd1aa3cccaa0d5063e1272ff6df32f7b3815c8ce
This commit is contained in:
Jinseong Jeon
2024-02-26 23:42:19 -08:00
committed by intellij-monorepo-bot
parent 87949659cd
commit 07fab541fc
23 changed files with 100 additions and 10 deletions

View File

@@ -23,7 +23,6 @@ interface UClassLiteralExpression : UExpression {
/**
* Returns an expression for this class literal expression.
* Might be null if the [type] is specified.
*/
val expression: UExpression?