Prohibit DelegationBy specifier when no primary constructor
Also add codegen test for case when there is primary
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
trait A
|
||||
class AImpl : A
|
||||
|
||||
class B : <!UNSUPPORTED!>A by AImpl()<!> {
|
||||
constructor() {}
|
||||
}
|
||||
Reference in New Issue
Block a user