KT-6920 Reference this marked as deprecated if extension function is deprecated

#KT-6920 fixed
This commit is contained in:
Evgeny Gerashchenko
2015-03-05 21:47:30 +03:00
parent 06e3b5937f
commit c6352ec699
3 changed files with 16 additions and 0 deletions
@@ -0,0 +1,5 @@
deprecated("does nothing good")
fun Any.doNothing() = this.toString() // "this" should not be marked as deprecated despite it referes to deprecated function
// NO_CHECK_INFOS
// NO_CHECK_WEAK_WARNINGS