DeprecatedSymbolUsageFix: dealing with vararg's
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Double){
|
||||
newFun(p)
|
||||
}
|
||||
|
||||
fun newFun(p: DoubleArray){}
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun(1.0, 2.0)
|
||||
}
|
||||
Reference in New Issue
Block a user