remove support for 'trait' keyword

This commit is contained in:
Dmitry Jemerov
2015-09-18 16:17:02 +02:00
parent 86833c1a74
commit 4ca434da54
217 changed files with 705 additions and 821 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
trait A1() {
interface A1() {
constructor(x: Int = "", y: Int) : this() {
x + y
}
}
trait A2 private constructor(private val prop: Int) {
interface A2 private constructor(private val prop: Int) {
constructor(x: Int = "", y: Int) : this(x * y) {
x + y
}