[KAPT+IR] Use ErrorType for unresolved delegate class.

^KT-57946
This commit is contained in:
Mads Ager
2023-04-14 08:31:24 +02:00
committed by Alexander Udalov
parent 1801277a0c
commit 699ad87be2
4 changed files with 83 additions and 2 deletions
@@ -9,4 +9,12 @@ class B : NonExisting {
val a: String by flaf()
}
interface I
@Suppress("UNRESOLVED_REFERENCE")
class D : I by NonExisting
fun C.flaf() = "OK"
@Suppress("UNRESOLVED_REFERENCE", "DELEGATION_NOT_TO_INTERFACE")
class E : NonExisting by NonExisting