Files
kotlin-fork/idea/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/PrivateSymbolUsed.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

12 lines
139 B
Kotlin
Vendored

// PROBLEM: none
class C {
private val v = 1
<caret>@Deprecated("")
fun foo() {
bar(v)
}
fun bar(p: Int){}
}