Rewrite AbstractQuickFixTest based on light fixture test case
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.
This commit is contained in:
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(p: Int): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(p: Int): Int {
|
||||
|
||||
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(p: Int?): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(p: Int?): Int {
|
||||
|
||||
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p2)"))
|
||||
fun oldFun(p1: Int, p2: Int): Boolean {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p2)"))
|
||||
fun oldFun(p1: Int, p2: Int): Boolean {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class C {
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class C {
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
package ppp
|
||||
|
||||
fun bar(): Int = 0
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
package ppp
|
||||
|
||||
fun bar(): Int = 0
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||
fun oldFun(p: Int): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||
fun oldFun(p: Int): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
import java.util.*
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
import java.util.*
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||
fun oldFun(p: Int?): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||
fun oldFun(p: Int?): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("T::class.java"))
|
||||
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
import java.util.Random
|
||||
|
||||
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("T::class.java"))
|
||||
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(this, s)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface I {
|
||||
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(this, s)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface I {
|
||||
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun Int.oldFun(): Int = this
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun()"))
|
||||
fun Int.oldFun(): Int = this
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c.newFun(this)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c.newFun(this)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 's.filter { it != c }'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 's.filter { it != c }'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X(val c: Char) {
|
||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X(val c: Char) {
|
||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 's.newFun(this)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 's.newFun(this)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(p: List<String>) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(p: List<String>) {
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun <T> oldFun(vararg elements: T) {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, x = null)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, x = null)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, 1)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, 1)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
||||
fun oldFun(list: List<Int>, vararg p: Int){
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
||||
fun oldFun(list: List<Int>, vararg p: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Boolean){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Boolean){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Byte){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Byte){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*c)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||
fun oldFun(vararg c: Char){}
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*c)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||
fun oldFun(vararg c: Char){}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*c)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||
fun oldFun(vararg c: Char){}
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*c)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||
fun oldFun(vararg c: Char){}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(vararg s: String) = s.joinToString()
|
||||
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(vararg s: String) = s.joinToString()
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Double){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Double){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Float){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Float){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Long){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Long){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, 1)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*p, 1)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||
fun oldFun(vararg p: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun oldFun(vararg elements: java.io.File?) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(*elements)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||
fun oldFun(vararg elements: java.io.File?) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Short){
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||
fun oldFun(vararg p: Short){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
||||
fun oldFun(p1: String, vararg p2: Int) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, p2: IntArray) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||
fun oldFun(p1: String, p2: IntArray) {
|
||||
|
||||
Reference in New Issue
Block a user