Fix for KT-7995 Quick doc should show deprecation info and ReplaceWith

This commit is contained in:
Simon Ogorodnik
2016-11-12 01:13:30 +03:00
committed by Simon Ogorodnik
parent 1a211ee7b0
commit 3376dbb10d
4 changed files with 64 additions and 5 deletions
@@ -0,0 +1,6 @@
@Deprecated("lol no more mainstream", replaceWith = ReplaceWith(expression = "kek()"))
fun <caret>lol() {
println("lol")
}
//INFO: @<a href="psi_element://kotlin.Deprecated">Deprecated</a> <b>public</b> <b>fun</b> lol(): Unit <i>defined in</i> root package<DL><DT><b>Deprecated:</b></DT><DD>lol no more mainstream</DD><DT><b>Replace with:</b></DT><DD><code>kek()</code></DD></DL>