IDE testdata: s/trait/interface
This commit is contained in:
@@ -8,10 +8,10 @@ class A {
|
||||
}
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
}
|
||||
|
||||
object A {
|
||||
|
||||
@@ -12,11 +12,11 @@ class A
|
||||
}
|
||||
}
|
||||
|
||||
trait A
|
||||
interface A
|
||||
{
|
||||
}
|
||||
|
||||
trait A
|
||||
interface A
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ class A
|
||||
}
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
}
|
||||
|
||||
trait A
|
||||
interface A
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
trait A1
|
||||
trait A2
|
||||
trait A3
|
||||
interface A1
|
||||
interface A2
|
||||
interface A3
|
||||
|
||||
open class B1
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
trait A1
|
||||
trait A2
|
||||
trait A3
|
||||
interface A1
|
||||
interface A2
|
||||
interface A3
|
||||
|
||||
open class B1
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
trait A1
|
||||
trait A2
|
||||
trait A3
|
||||
interface A1
|
||||
interface A2
|
||||
interface A3
|
||||
|
||||
open class B1
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class C1
|
||||
|
||||
object O6
|
||||
|
||||
trait T1
|
||||
interface T1
|
||||
|
||||
// -----
|
||||
|
||||
@@ -62,7 +62,7 @@ class C2
|
||||
|
||||
object O13 {}
|
||||
|
||||
trait T2
|
||||
interface T2
|
||||
|
||||
// -----
|
||||
|
||||
@@ -105,7 +105,7 @@ class C3
|
||||
object O20 {
|
||||
}
|
||||
|
||||
trait T3
|
||||
interface T3
|
||||
|
||||
// -----
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class C1
|
||||
// -----
|
||||
|
||||
object O6
|
||||
trait T1
|
||||
interface T1
|
||||
|
||||
// -----
|
||||
|
||||
@@ -51,7 +51,7 @@ class C2
|
||||
// -----
|
||||
|
||||
object O13 {}
|
||||
trait T2
|
||||
interface T2
|
||||
|
||||
// -----
|
||||
|
||||
@@ -88,7 +88,7 @@ class C3
|
||||
|
||||
object O20 {
|
||||
}
|
||||
trait T3
|
||||
interface T3
|
||||
|
||||
// -----
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Some {
|
||||
interface Some {
|
||||
fun f1()
|
||||
fun f2()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Some {
|
||||
interface Some {
|
||||
fun f1()
|
||||
fun f2()
|
||||
}
|
||||
|
||||
@@ -20,9 +20,9 @@ object O2 {
|
||||
}
|
||||
}
|
||||
|
||||
trait T1 {}
|
||||
interface T1 {}
|
||||
|
||||
trait T2 {
|
||||
interface T2 {
|
||||
val some = 1
|
||||
}
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ object O1 {}
|
||||
object O2 {
|
||||
fun test() {}}
|
||||
|
||||
trait T1 {}
|
||||
interface T1 {}
|
||||
|
||||
trait T2 {
|
||||
interface T2 {
|
||||
val some = 1}
|
||||
|
||||
enum class E1 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A
|
||||
interface A
|
||||
|
||||
object Some1: A {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A
|
||||
interface A
|
||||
|
||||
object Some1 :A {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A
|
||||
interface A
|
||||
|
||||
object Some1 : A {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Test {
|
||||
interface Test {
|
||||
fun foo(): Test
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Test {
|
||||
interface Test {
|
||||
fun foo(): Test
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user