IDE testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 20:39:44 +02:00
parent 99cad4b43f
commit 625096466e
698 changed files with 1049 additions and 1049 deletions
@@ -1,4 +1,4 @@
trait <info textAttributesKey="KOTLIN_TRAIT">TheTrait</info> {
interface <info textAttributesKey="KOTLIN_TRAIT">TheTrait</info> {
}
class <info textAttributesKey="KOTLIN_CLASS">TheClass</info> : <info textAttributesKey="KOTLIN_TRAIT">TheTrait</info> {
@@ -1,4 +1,4 @@
trait <info textAttributesKey="KOTLIN_TRAIT">FunctionLike</info> {
interface <info textAttributesKey="KOTLIN_TRAIT">FunctionLike</info> {
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">invoke</info>() {
}
}
@@ -18,7 +18,7 @@ class MyClass(): MyTrait {
}
}
trait MyTrait {
interface MyTrait {
deprecated("Use A instead") companion object {
val test: String = ""
}
@@ -1,4 +1,4 @@
deprecated("Use A instead") trait MyTrait { }
deprecated("Use A instead") interface MyTrait { }
fun test() {
val a: <warning descr="[DEPRECATED_SYMBOL_WITH_MESSAGE] 'MyTrait' is deprecated. Use A instead">MyTrait</warning>? = null