compiler testdata: s/trait/interface
This commit is contained in:
@@ -4,7 +4,7 @@ fun <T1> T1.func(a: T1): T1 = a
|
||||
val <T2> T2.prop: T2? = null
|
||||
var propVar: Any? = null
|
||||
|
||||
trait Trait<T3> {
|
||||
interface Trait<T3> {
|
||||
fun traitFunc(): Unit {}
|
||||
val traitProp: Any?
|
||||
}
|
||||
@@ -24,8 +24,8 @@ object Object {
|
||||
val objProp: Any? = null
|
||||
}
|
||||
|
||||
trait Outer {
|
||||
trait NestedTrait {
|
||||
interface Outer {
|
||||
interface NestedTrait {
|
||||
fun nestedTraitFun() {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user