[K2] Disappeared UNSUPPORTED

Prohibit DelegationBy specifier when no primary constructor

^KT-59881
This commit is contained in:
Anastasia.Nekrasova
2023-11-30 11:07:29 +02:00
committed by Space Team
parent 23bed574c1
commit c569fc170b
3 changed files with 29 additions and 7 deletions
@@ -1,6 +0,0 @@
interface A
class AImpl : A
class B : A by AImpl() {
constructor()
}
@@ -1,6 +1,7 @@
// FIR_IDENTICAL
interface A
class AImpl : A
class B : <!UNSUPPORTED!>A by AImpl()<!> {
constructor()
}
}