Mark deprecated as a warning

#KT-3252 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2013-01-21 16:34:07 +04:00
parent d7c8655966
commit 9422fea0c4
15 changed files with 100 additions and 87 deletions
@@ -5,5 +5,5 @@ deprecated("Use A instead") fun MyRunnable.invoke() {
fun test() {
val m = MyRunnable()
<info descr="'fun invoke()' is deprecated. Use A instead"><info>m</info>()</info>
<warning descr="'fun invoke()' is deprecated. Use A instead">m()</warning>
}