Deprecate deprecated in favor of Deprecated
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// "Replace with 'newFun(p1, p2, 0)'" "true"
|
||||
|
||||
interface X {
|
||||
@deprecated("", ReplaceWith("newFun(p1, p2, 0)"))
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2, 0)"))
|
||||
fun oldFun(p1: Int, p2: Int)
|
||||
|
||||
fun newFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Replace with 'newFun(p1, p2, 0)'" "true"
|
||||
|
||||
interface X {
|
||||
@deprecated("", ReplaceWith("newFun(p1, p2, 0)"))
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2, 0)"))
|
||||
fun oldFun(p1: Int, p2: Int)
|
||||
|
||||
fun newFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun Int.oldFun(): Int = this
|
||||
|
||||
fun Int.newFun(): Int = this
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun Int.oldFun(): Int = this
|
||||
|
||||
fun Int.newFun(): Int = this
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Replace with 'newFun(p1, p2, p3)'" "true"
|
||||
|
||||
interface X {
|
||||
@deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
|
||||
fun oldFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
fun newFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Replace with 'newFun(p1, p2, p3)'" "true"
|
||||
|
||||
interface X {
|
||||
@deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
|
||||
fun oldFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
fun newFun(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
Reference in New Issue
Block a user