DeprecatedCallableAddReplaceWithIntention

This commit is contained in:
Valentin Kipyatkov
2015-05-16 17:00:20 +03:00
parent ba3d5f944e
commit ec5256a0f0
44 changed files with 766 additions and 171 deletions
@@ -0,0 +1,10 @@
// IS_APPLICABLE: false
<caret>@deprecated("")
fun foo(p: Int) {
if (p > 0) {
val v = p + 1
bar(v)
}
}
fun bar(p: Int){}