Prohibit secondary constructors in traits

This commit is contained in:
Denis Zharkov
2015-02-13 16:09:10 +03:00
parent 978279bff3
commit 835a0df13a
4 changed files with 20 additions and 3 deletions
@@ -0,0 +1,3 @@
trait A {
<!CONSTRUCTOR_IN_TRAIT!>constructor() {}<!>
}
@@ -0,0 +1,7 @@
package
internal trait A {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}