Don't fail when "deprecated" doesn't have a message

EA-57345
This commit is contained in:
Alexander Udalov
2014-06-26 18:40:40 +04:00
parent c18fd179a9
commit c56f397f71
3 changed files with 34 additions and 8 deletions
@@ -0,0 +1,11 @@
deprecated(<error>)</error>
fun foo() {}
deprecated(<error>false</error>)
fun boo() {}
fun far() = <warning descr="'fun foo()' is deprecated.">foo</warning>()
fun bar() = <warning descr="'fun boo()' is deprecated.">boo</warning>()
// NO_CHECK_INFOS
// NO_CHECK_WEAK_WARNINGS