[K2] Disappeared UNSUPPORTED
Prohibit DelegationBy specifier when no primary constructor ^KT-59881
This commit is contained in:
committed by
Space Team
parent
23bed574c1
commit
c569fc170b
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
interface A
|
||||
class AImpl : A
|
||||
|
||||
class B : A by AImpl() {
|
||||
constructor()
|
||||
}
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
// FIR_IDENTICAL
|
||||
interface A
|
||||
class AImpl : A
|
||||
|
||||
class B : <!UNSUPPORTED!>A by AImpl()<!> {
|
||||
constructor()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user