IDE testdata: s/trait/interface
This commit is contained in:
@@ -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