compiler testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
[Anno] val property: Int
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
[Anno] val property: Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
companion object {
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
|
||||
Reference in New Issue
Block a user