compiler testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
val prop: Int
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
val prop: Int
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
val a: Int <!DELEGATED_PROPERTY_IN_TRAIT!>by Delegate()<!>
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -38,11 +38,11 @@ object O {
|
||||
fun getMyProperty<A, B>() = MyProperty<A, B>()
|
||||
}
|
||||
|
||||
trait MyPropertyContainer {
|
||||
interface MyPropertyContainer {
|
||||
fun <R, T> getMyProperty(): MyProperty<R, T>
|
||||
}
|
||||
|
||||
trait Outer {
|
||||
interface Outer {
|
||||
fun getContainer(): MyPropertyContainer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user