[FIR] Implement DELEGATION_NOT_TO_INTERFACE

This commit is contained in:
Ivan Kochurkin
2021-06-25 22:43:41 +03:00
committed by teamcityserver
parent c3a6ba52f6
commit fb9ce06ff5
12 changed files with 49 additions and 15 deletions
@@ -2,7 +2,7 @@ open class Foo() {
}
class Barrr() : <!SUPERTYPE_NOT_INITIALIZED!>Foo<!> by Foo() {}
class Barrr() : <!DELEGATION_NOT_TO_INTERFACE, SUPERTYPE_NOT_INITIALIZED!>Foo<!> by Foo() {}
interface T {}
@@ -12,4 +12,4 @@ open enum class EN() {
A
}
class Test2(e : EN) : EN by e {}
class Test2(e : EN) : <!DELEGATION_NOT_TO_INTERFACE!>EN<!> by e {}