Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/importedObjectFunctionAddReceiver.kt.after
T
2020-05-19 15:40:59 +07:00

13 lines
252 B
Plaintext
Vendored

// "Replace with 'str.isEmpty()'" "true"
// WITH_RUNTIME
import Bar.bar
fun foo(s: String) {
s.isEmpty()
}
object Bar {
@Deprecated(message = "", replaceWith = ReplaceWith("str.isEmpty()"))
fun bar(str: String): Boolean = str.isEmpty()
}