Prohibit DelegationBy specifier when no primary constructor

Also add codegen test for case when there is primary
This commit is contained in:
Denis Zharkov
2015-03-11 12:56:10 +03:00
parent 582755e71a
commit 70c573864a
6 changed files with 59 additions and 0 deletions
@@ -0,0 +1,6 @@
trait A
class AImpl : A
class B : <!UNSUPPORTED!>A by AImpl()<!> {
constructor() {}
}