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

6 lines
112 B
Kotlin
Vendored

// WITH_RUNTIME
<caret>@Deprecated("")
fun foo(s: String): String {
return s.substring(1) + Int.MAX_VALUE
}