Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/addImportRuntime.kt.after
T
2015-05-27 16:15:45 +03:00

14 lines
343 B
Plaintext

// "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"))
}