remove support for 'trait' keyword
This commit is contained in:
@@ -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>?)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user