IDE testdata: s/trait/interface
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Make A open" "true"
|
||||
trait X {}
|
||||
trait Y {}
|
||||
interface X {}
|
||||
interface Y {}
|
||||
|
||||
class A {}
|
||||
class B : X, A<caret>(), Y {}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Make A open" "true"
|
||||
trait X {}
|
||||
trait Y {}
|
||||
interface X {}
|
||||
interface Y {}
|
||||
|
||||
open class A {}
|
||||
class B : X, A<caret>(), Y {}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// "Remove 'final' modifier" "true"
|
||||
<caret>final trait A {}
|
||||
<caret>final interface A {}
|
||||
@@ -1,2 +1,2 @@
|
||||
// "Remove 'final' modifier" "true"
|
||||
<caret>trait A {}
|
||||
<caret>interface A {}
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Remove 'enum' modifier" "true"
|
||||
<caret>enum trait A {
|
||||
<caret>enum interface A {
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Remove 'enum' modifier" "true"
|
||||
<caret>trait A {
|
||||
<caret>interface A {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove 'inner' modifier" "true"
|
||||
trait A {
|
||||
interface A {
|
||||
inne<caret>r class B
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove 'inner' modifier" "true"
|
||||
trait A {
|
||||
interface A {
|
||||
class B
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Change visibility modifier" "true"
|
||||
trait ParseResult<out T> {
|
||||
interface ParseResult<out T> {
|
||||
public val success : Boolean
|
||||
public val value : T
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Change visibility modifier" "true"
|
||||
trait ParseResult<out T> {
|
||||
interface ParseResult<out T> {
|
||||
public val success : Boolean
|
||||
public val value : T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user