remove support for 'trait' keyword
This commit is contained in:
@@ -2,7 +2,7 @@ open class Base() {
|
||||
fun n(n: Int): Int = n + 1
|
||||
}
|
||||
|
||||
trait Abstract {
|
||||
interface Abstract {
|
||||
}
|
||||
|
||||
class Derived1() : Base(), Abstract {
|
||||
|
||||
@@ -10,7 +10,7 @@ open class Base() {
|
||||
}
|
||||
}
|
||||
|
||||
trait Abstract {
|
||||
interface Abstract {
|
||||
}
|
||||
|
||||
class Derived1() : Base(), Abstract {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Changed when traits were introduced. May not make sense any more
|
||||
|
||||
trait Left {
|
||||
interface Left {
|
||||
}
|
||||
open class Right() {
|
||||
open fun f() = 42
|
||||
|
||||
Reference in New Issue
Block a user