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

View File

@@ -1,4 +1,4 @@
trait KTrait : Simple {
interface KTrait : Simple {
fun bar(): String {
return test("O") + Simple.testStatic("O")
}

View File

@@ -1,4 +1,4 @@
trait KTrait: Simple {
interface KTrait: Simple {
override fun test(s: String): String {
return s + "K"
}

View File

@@ -1,4 +1,4 @@
trait KTrait {
interface KTrait {
fun test(): String {
return "base";
}

View File

@@ -1,4 +1,4 @@
trait KTrait : Test {
interface KTrait : Test {
}