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

13 lines
306 B
Kotlin
Vendored

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