[FIR] add missed diagnostics for incomplete code

^KT-55053
This commit is contained in:
Anna Kozlova
2023-01-27 12:10:09 +01:00
committed by Space Team
parent 706a8a91f6
commit e54627b309
5 changed files with 25 additions and 1 deletions
@@ -0,0 +1 @@
<expr>val p: String by</expr>
@@ -0,0 +1,9 @@
KT element: KtProperty
FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final val p: R|kotlin/String|by ERROR_EXPR(Should have delegate)
public get(): R|kotlin/String| {
^ D|/p|.<Unresolved name: getValue>#(Null(null), ::R|/p|)
}