compiler testdata: s/trait/interface
This commit is contained in:
@@ -2,7 +2,7 @@ class Delegate {
|
||||
fun get(t: Any?, p: PropertyMetadata): Int = 1
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
val prop: Int
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class Foo (val f: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
trait FooTrait {
|
||||
interface FooTrait {
|
||||
companion object {
|
||||
val A: Foo by Delegate(Foo(11))
|
||||
var B: Foo by Delegate(Foo(11))
|
||||
|
||||
@@ -4,7 +4,7 @@ class Delegate {
|
||||
fun propertyDelegated(p: PropertyMetadata) { name = p.name }
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
val prop: String
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user