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
+1 -1
View File
@@ -1,4 +1,4 @@
trait Id<T> {
interface Id<T> {
val id: T
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun visit(a:String, b:String="") : String = b + a
}
@@ -1,4 +1,4 @@
trait Base
interface Base
class Derived: Base
class Another: Base
fun Base.inc(): Derived { return Derived() }
@@ -1,4 +1,4 @@
trait Base
interface Base
class Derived: Base
class Another: Base
fun Base.inc(): Derived { return Derived() }