IDE testdata: s/trait/interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package dependency
|
||||
|
||||
trait Tr {
|
||||
interface Tr {
|
||||
fun f() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,5 @@ class A {
|
||||
open class D<T, G> {
|
||||
}
|
||||
|
||||
trait Tr {
|
||||
interface Tr {
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ private var i = 2
|
||||
fun Int.plus(i: Int = 1) = this + i
|
||||
|
||||
class ShouldNotBeVisible1
|
||||
trait ShouldNotBeVisible2
|
||||
interface ShouldNotBeVisible2
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
fun boo()
|
||||
}
|
||||
|
||||
trait TT : T {
|
||||
interface TT : T {
|
||||
}
|
||||
|
||||
fun f() {
|
||||
@@ -23,7 +23,7 @@ fun f() {
|
||||
class MyLocalClass {
|
||||
}
|
||||
|
||||
trait MyLocalTrait {
|
||||
interface MyLocalTrait {
|
||||
}
|
||||
|
||||
val myAnonymousObject = object {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package testData.libraries
|
||||
|
||||
public trait SimpleTrait {
|
||||
public interface SimpleTrait {
|
||||
}
|
||||
|
||||
public class SimpleClass {
|
||||
@@ -16,7 +16,7 @@ public class WithInnerAndObject {
|
||||
}
|
||||
|
||||
class MyInner {
|
||||
trait MyInnerInner {
|
||||
interface MyInnerInner {
|
||||
fun innerInnerMethod()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait T {
|
||||
interface T {
|
||||
fun f()
|
||||
val g: Int
|
||||
}
|
||||
|
||||
@@ -15,21 +15,21 @@ class InheritingClasses {
|
||||
override val ap = 5
|
||||
}
|
||||
|
||||
trait C {
|
||||
interface C {
|
||||
val c: Int
|
||||
}
|
||||
|
||||
trait D<T> : C {
|
||||
interface D<T> : C {
|
||||
override val c: Int
|
||||
}
|
||||
|
||||
trait E
|
||||
interface E
|
||||
class G : B(), C, D<Int>, E
|
||||
|
||||
|
||||
class InheritAny {
|
||||
trait SomeTrait
|
||||
trait SomeTrait2
|
||||
interface SomeTrait
|
||||
interface SomeTrait2
|
||||
|
||||
class ImplicitAny
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@ public object Objects {
|
||||
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
open class A
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class TypeBoundsAndDelegationSpecifiers<H : Any?, G : Any, C: T>() : A(), T where H : List<String>, G : CharSequence, C: Any?
|
||||
Reference in New Issue
Block a user