Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/imports/addImportRuntime.kt.after
T
2015-09-04 18:19:31 +03:00

14 lines
343 B
Plaintext
Vendored

// "Replace with 'newFun(n + java.math.BigInteger(s))'" "true"
import java.math.BigInteger
import kotlin.math.plus
@Deprecated("", ReplaceWith("newFun(n + java.math.BigInteger(s))", "kotlin.math.plus"))
fun oldFun(n: BigInteger, s: String) {}
fun newFun(n: BigInteger) {}
fun foo() {
<caret>newFun(BigInteger("2") + BigInteger("1"))
}