Files
kotlin-fork/idea/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/If.kt
T
Mikhail Glukhikh 2125c42328 Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing
Includes some optimization of 'Deprecated' annotation detection
2018-04-03 17:46:27 +03:00

10 lines
137 B
Kotlin
Vendored

<caret>@Deprecated("")
fun foo(p: Int) {
if (p > 0)
bar1(p)
else
bar2(p)
}
fun bar1(p: Int){}
fun bar2(p: Int){}