Deprecate deprecated in favor of Deprecated

This commit is contained in:
Denis Zharkov
2015-09-01 19:59:19 +03:00
parent 952d45dc8b
commit 31244edec9
444 changed files with 686 additions and 688 deletions
@@ -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,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,6 +1,6 @@
// "Replace with 'newFun()'" "true"
@deprecated("", ReplaceWith("newFun()"))
@Deprecated("", ReplaceWith("newFun()"))
fun Int.oldFun(): Int = this
fun Int.newFun(): Int = this
@@ -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,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)