[KAPT+IR] Use ErrorType for unresolved delegate class.
^KT-57946
This commit is contained in:
committed by
Alexander Udalov
parent
1801277a0c
commit
699ad87be2
+31
@@ -33,6 +33,37 @@ public class C {
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
||||
public final class D implements I {
|
||||
|
||||
public D() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE", "DELEGATION_NOT_TO_INTERFACE"})
|
||||
public final class E implements NonExisting {
|
||||
|
||||
public E() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public abstract interface I {
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public final class UnresolvedDelegateExpressionKt {
|
||||
|
||||
|
||||
+8
@@ -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
|
||||
|
||||
+31
@@ -33,6 +33,37 @@ public class C {
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
||||
public final class D implements I {
|
||||
|
||||
public D() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE", "DELEGATION_NOT_TO_INTERFACE"})
|
||||
public final class E implements NonExisting {
|
||||
|
||||
public E() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public abstract interface I {
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public final class UnresolvedDelegateExpressionKt {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user