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,6 +1,6 @@
// "Replace with 'x'" "true"
trait X {
interface X {
@Deprecated("", ReplaceWith("x"))
fun getX(): String
@@ -1,6 +1,6 @@
// "Replace with 'x'" "true"
trait X {
interface X {
@Deprecated("", ReplaceWith("x"))
fun getX(): String
@@ -1,6 +1,6 @@
// "Replace with 'getX()'" "true"
trait X {
interface X {
@Deprecated("", ReplaceWith("getX()"))
val x: String
@@ -1,6 +1,6 @@
// "Replace with 'getX()'" "true"
trait X {
interface X {
@Deprecated("", ReplaceWith("getX()"))
val x: String
@@ -1,5 +0,0 @@
// "Replace 'trait' with 'interface'" "true"
<caret>trait Foo {
}
@@ -1,5 +0,0 @@
// "Replace 'trait' with 'interface'" "true"
<caret>interface Foo {
}
@@ -1,5 +1,5 @@
// "Add constructor parameters from Base(T, String, Base<T, String>?)" "true"
trait I
interface I
open class Base<T1, T2>(p1: T1, p2: T2, p3: Base<T1, T2>?)
@@ -1,5 +1,5 @@
// "Add constructor parameters from Base(T, String, Base<T, String>?)" "true"
trait I
interface I
open class Base<T1, T2>(p1: T1, p2: T2, p3: Base<T1, T2>?)