Highlight references to deprecated things accordingly

#KT-2925 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-10-12 15:23:04 +04:00
parent 2f2941fe5b
commit 20352b3810
17 changed files with 625 additions and 0 deletions
@@ -0,0 +1,19 @@
fun test() {
<info descr="'MyClass.<class-object-for-MyClass>' is deprecated">MyClass</info>.test
MyClass()
val a: MyClass? = null
val b: MyTrait? = null
<info descr="'MyTrait.<class-object-for-MyTrait>' is deprecated">MyTrait</info>.test
}
class MyClass(): MyTrait {
Deprecated class object {
val <info>test</info>: String = ""
}
}
trait MyTrait {
Deprecated class object {
val <info>test</info>: String = ""
}
}