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
@@ -127,7 +127,7 @@ public fun A.boo(): Int = 2
val public_ext_f = { A.(): Int -> this.foo() + this.foo }
val public_ext_b = { A.(): Int -> this.boo() + this.boo }
trait TestPublicInTrait {
interface TestPublicInTrait {
public fun foo(): Int = 2
public val foo: Int
public val boo: Int
@@ -137,7 +137,7 @@ trait TestPublicInTrait {
val public_in_trait_f = { obj: TestPublicInTrait -> obj.foo() + obj.foo }
val public_in_trait_b = { obj: TestPublicInTrait -> obj.boo() + obj.boo }
trait TestInternalInTrait {
interface TestInternalInTrait {
fun foo(): Int = 2
val foo: Int
val boo: Int