14 lines
343 B
Plaintext
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"))
|
|
}
|