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:
+13
-6
@@ -49,6 +49,8 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
|
|||||||
|
|
||||||
protected val module: Module get() = myFixture.module
|
protected val module: Module get() = myFixture.module
|
||||||
|
|
||||||
|
protected open val captureExceptions = true
|
||||||
|
|
||||||
override fun setUp() {
|
override fun setUp() {
|
||||||
super.setUp()
|
super.setUp()
|
||||||
(StartupManager.getInstance(project) as StartupManagerImpl).runPostStartupActivities()
|
(StartupManager.getInstance(project) as StartupManagerImpl).runPostStartupActivities()
|
||||||
@@ -61,12 +63,14 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
|
|||||||
|
|
||||||
invalidateLibraryCache(project)
|
invalidateLibraryCache(project)
|
||||||
|
|
||||||
LoggedErrorProcessor.setNewInstance(object : LoggedErrorProcessor() {
|
if (captureExceptions) {
|
||||||
override fun processError(message: String?, t: Throwable?, details: Array<out String>?, logger: Logger) {
|
LoggedErrorProcessor.setNewInstance(object : LoggedErrorProcessor() {
|
||||||
exceptions.addIfNotNull(t)
|
override fun processError(message: String?, t: Throwable?, details: Array<out String>?, logger: Logger) {
|
||||||
super.processError(message, t, details, logger)
|
exceptions.addIfNotNull(t)
|
||||||
}
|
super.processError(message, t, details, logger)
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun tearDown() {
|
override fun tearDown() {
|
||||||
@@ -116,6 +120,9 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
|
|||||||
else if (InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME_WITH_KOTLIN_TEST")) {
|
else if (InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME_WITH_KOTLIN_TEST")) {
|
||||||
return KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE_WITH_KOTLIN_TEST
|
return KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE_WITH_KOTLIN_TEST
|
||||||
}
|
}
|
||||||
|
else if (InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME_WITH_FULL_JDK")) {
|
||||||
|
return KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE_FULL_JDK
|
||||||
|
}
|
||||||
else if (InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME") ||
|
else if (InTextDirectivesUtils.isDirectiveDefined(fileText, "RUNTIME") ||
|
||||||
InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME")) {
|
InTextDirectivesUtils.isDirectiveDefined(fileText, "WITH_RUNTIME")) {
|
||||||
return KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE
|
return KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Add 'kotlin.Any' as upper bound for E" "true"
|
// "Add 'kotlin.Any' as upper bound for E" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Add 'kotlin.Any' as upper bound for E" "true"
|
// "Add 'kotlin.Any' as upper bound for E" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make private
|
// ACTION: Make private
|
||||||
// ACTION: Make protected
|
// ACTION: Make protected
|
||||||
|
// WITH_RUNTIME
|
||||||
class A {
|
class A {
|
||||||
<caret>val n: Int by lazy { 0 }
|
<caret>val n: Int by lazy { 0 }
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// JS
|
||||||
|
|
||||||
package test
|
package test
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// JS
|
||||||
|
|
||||||
package test
|
package test
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// RUNTIME_WITH_KOTLIN_TEST
|
||||||
|
|
||||||
package test
|
package test
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// RUNTIME_WITH_KOTLIN_TEST
|
||||||
|
|
||||||
package test
|
package test
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// JS
|
||||||
package some
|
package some
|
||||||
|
|
||||||
fun testFun() {
|
fun testFun() {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// JS
|
||||||
package some
|
package some
|
||||||
|
|
||||||
import jquery.jq
|
import jquery.jq
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
package some
|
package some
|
||||||
|
|
||||||
fun testFun() {
|
fun testFun() {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Import" "true"
|
// "Import" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
package some
|
package some
|
||||||
|
|
||||||
import kotlin.system.measureNanoTime
|
import kotlin.system.measureNanoTime
|
||||||
|
|||||||
Vendored
-1
@@ -3,7 +3,6 @@
|
|||||||
// ACTION: Create local variable 'A'
|
// ACTION: Create local variable 'A'
|
||||||
// ACTION: Create parameter 'A'
|
// ACTION: Create parameter 'A'
|
||||||
// ACTION: Create property 'A'
|
// ACTION: Create property 'A'
|
||||||
// ACTION: Import
|
|
||||||
// ACTION: Rename reference
|
// ACTION: Rename reference
|
||||||
// ERROR: Unresolved reference: A
|
// ERROR: Unresolved reference: A
|
||||||
package p
|
package p
|
||||||
|
|||||||
-1
@@ -4,7 +4,6 @@
|
|||||||
// ACTION: Create parameter 'A'
|
// ACTION: Create parameter 'A'
|
||||||
// ACTION: Create property 'A'
|
// ACTION: Create property 'A'
|
||||||
// ACTION: Rename reference
|
// ACTION: Rename reference
|
||||||
// ACTION: Import
|
|
||||||
// ERROR: Unresolved reference: A
|
// ERROR: Unresolved reference: A
|
||||||
package p
|
package p
|
||||||
|
|
||||||
|
|||||||
Vendored
-1
@@ -3,7 +3,6 @@
|
|||||||
// ACTION: Create local variable 'A'
|
// ACTION: Create local variable 'A'
|
||||||
// ACTION: Create parameter 'A'
|
// ACTION: Create parameter 'A'
|
||||||
// ACTION: Create property 'A'
|
// ACTION: Create property 'A'
|
||||||
// ACTION: Import
|
|
||||||
// ACTION: Rename reference
|
// ACTION: Rename reference
|
||||||
// ERROR: Unresolved reference: A
|
// ERROR: Unresolved reference: A
|
||||||
package p
|
package p
|
||||||
|
|||||||
-1
@@ -3,7 +3,6 @@
|
|||||||
// ACTION: Create local variable 'A'
|
// ACTION: Create local variable 'A'
|
||||||
// ACTION: Create parameter 'A'
|
// ACTION: Create parameter 'A'
|
||||||
// ACTION: Create property 'A'
|
// ACTION: Create property 'A'
|
||||||
// ACTION: Import
|
|
||||||
// ACTION: Rename reference
|
// ACTION: Rename reference
|
||||||
// ERROR: Unresolved reference: A
|
// ERROR: Unresolved reference: A
|
||||||
package p
|
package p
|
||||||
|
|||||||
-1
@@ -3,7 +3,6 @@
|
|||||||
// ACTION: Create local variable 'A'
|
// ACTION: Create local variable 'A'
|
||||||
// ACTION: Create parameter 'A'
|
// ACTION: Create parameter 'A'
|
||||||
// ACTION: Create property 'A'
|
// ACTION: Create property 'A'
|
||||||
// ACTION: Import
|
|
||||||
// ACTION: Rename reference
|
// ACTION: Rename reference
|
||||||
// ERROR: Unresolved reference: A
|
// ERROR: Unresolved reference: A
|
||||||
package p
|
package p
|
||||||
|
|||||||
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed3Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun oldFun(p: Int): Int {
|
fun oldFun(p: Int): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun oldFun(p: Int): Int {
|
fun oldFun(p: Int): Int {
|
||||||
|
|||||||
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed4Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun oldFun(p: Int?): Int {
|
fun oldFun(p: Int?): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun oldFun(p: Int?): Int {
|
fun oldFun(p: Int?): Int {
|
||||||
|
|||||||
idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/complexExpressionNotUsed5Runtime.kt
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p2)'" "true"
|
// "Replace with 'newFun(p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p2)"))
|
@Deprecated("", ReplaceWith("newFun(p2)"))
|
||||||
fun oldFun(p1: Int, p2: Int): Boolean {
|
fun oldFun(p1: Int, p2: Int): Boolean {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p2)'" "true"
|
// "Replace with 'newFun(p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p2)"))
|
@Deprecated("", ReplaceWith("newFun(p2)"))
|
||||||
fun oldFun(p1: Int, p2: Int): Boolean {
|
fun oldFun(p1: Int, p2: Int): Boolean {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class C {
|
class C {
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class C {
|
class C {
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
package ppp
|
package ppp
|
||||||
|
|
||||||
fun bar(): Int = 0
|
fun bar(): Int = 0
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
package ppp
|
package ppp
|
||||||
|
|
||||||
fun bar(): Int = 0
|
fun bar(): Int = 0
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||||
fun oldFun(p: Int): Int {
|
fun oldFun(p: Int): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||||
fun oldFun(p: Int): Int {
|
fun oldFun(p: Int): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||||
fun oldFun(p: Int?): Int {
|
fun oldFun(p: Int?): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p, p)'" "true"
|
// "Replace with 'newFun(p, p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
||||||
fun oldFun(p: Int?): Int {
|
fun oldFun(p: Int?): Int {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("T::class.java"))
|
@Deprecated("", ReplaceWith("T::class.java"))
|
||||||
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
||||||
|
|||||||
+1
@@ -1,6 +1,7 @@
|
|||||||
import java.util.Random
|
import java.util.Random
|
||||||
|
|
||||||
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("T::class.java"))
|
@Deprecated("", ReplaceWith("T::class.java"))
|
||||||
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
inline fun <reified T: Any> myJavaClass(): Class<T> = T::class.java
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(this, s)'" "true"
|
// "Replace with 'newFun(this, s)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
interface I {
|
interface I {
|
||||||
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(this, s)'" "true"
|
// "Replace with 'newFun(this, s)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
interface I {
|
interface I {
|
||||||
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun Int.oldFun(): Int = this
|
fun Int.oldFun(): Int = this
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun()'" "true"
|
// "Replace with 'newFun()'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun()"))
|
@Deprecated("", ReplaceWith("newFun()"))
|
||||||
fun Int.oldFun(): Int = this
|
fun Int.oldFun(): Int = this
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c.newFun(this)'" "true"
|
// "Replace with 'c.newFun(this)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c.newFun(this)'" "true"
|
// "Replace with 'c.newFun(this)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
@Deprecated("", ReplaceWith("c.newFun(this)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 's.filter { it != c }'" "true"
|
// "Replace with 's.filter { it != c }'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 's.filter { it != c }'" "true"
|
// "Replace with 's.filter { it != c }'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
@Deprecated("", ReplaceWith("s.filter { it != c }"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X(val c: Char) {
|
class X(val c: Char) {
|
||||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'c1.newFun(this, c2)'" "true"
|
// "Replace with 'c1.newFun(this, c2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X(val c: Char) {
|
class X(val c: Char) {
|
||||||
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
@Deprecated("", ReplaceWith("c1.newFun(this, c2)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 's.newFun(this)'" "true"
|
// "Replace with 's.newFun(this)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 's.newFun(this)'" "true"
|
// "Replace with 's.newFun(this)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
class X {
|
class X {
|
||||||
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
@Deprecated("", ReplaceWith("s.newFun(this)"))
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(p: List<String>) {
|
fun oldFun(p: List<String>) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(p: List<String>) {
|
fun oldFun(p: List<String>) {
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun <T> oldFun(vararg elements: T) {
|
fun <T> oldFun(vararg elements: T) {
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, x = null)'" "true"
|
// "Replace with 'newFun(*p, x = null)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, x = null)'" "true"
|
// "Replace with 'newFun(*p, x = null)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
@Deprecated("", ReplaceWith("newFun(*p, x = null)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, 1)'" "true"
|
// "Replace with 'newFun(*p, 1)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, 1)'" "true"
|
// "Replace with 'newFun(*p, 1)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
||||||
fun oldFun(list: List<Int>, vararg p: Int){
|
fun oldFun(list: List<Int>, vararg p: Int){
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
||||||
fun oldFun(list: List<Int>, vararg p: Int){
|
fun oldFun(list: List<Int>, vararg p: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Boolean){
|
fun oldFun(vararg p: Boolean){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Boolean){
|
fun oldFun(vararg p: Boolean){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Byte){
|
fun oldFun(vararg p: Byte){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Byte){
|
fun oldFun(vararg p: Byte){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*c)'" "true"
|
// "Replace with 'newFun(*c)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||||
fun oldFun(vararg c: Char){}
|
fun oldFun(vararg c: Char){}
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*c)'" "true"
|
// "Replace with 'newFun(*c)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||||
fun oldFun(vararg c: Char){}
|
fun oldFun(vararg c: Char){}
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*c)'" "true"
|
// "Replace with 'newFun(*c)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||||
fun oldFun(vararg c: Char){}
|
fun oldFun(vararg c: Char){}
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*c)'" "true"
|
// "Replace with 'newFun(*c)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*c)"))
|
@Deprecated("", ReplaceWith("newFun(*c)"))
|
||||||
fun oldFun(vararg c: Char){}
|
fun oldFun(vararg c: Char){}
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
fun foo(vararg s: String) = s.joinToString()
|
fun foo(vararg s: String) = s.joinToString()
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
fun foo(vararg s: String) = s.joinToString()
|
fun foo(vararg s: String) = s.joinToString()
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Double){
|
fun oldFun(vararg p: Double){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Double){
|
fun oldFun(vararg p: Double){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Float){
|
fun oldFun(vararg p: Float){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Float){
|
fun oldFun(vararg p: Float){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Long){
|
fun oldFun(vararg p: Long){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Long){
|
fun oldFun(vararg p: Long){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, 1)'" "true"
|
// "Replace with 'newFun(*p, 1)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
Vendored
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*p, 1)'" "true"
|
// "Replace with 'newFun(*p, 1)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
@Deprecated("", ReplaceWith("newFun(*p, 1)"))
|
||||||
fun oldFun(vararg p: Int){
|
fun oldFun(vararg p: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun oldFun(vararg elements: java.io.File?) {
|
fun oldFun(vararg elements: java.io.File?) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(*elements)'" "true"
|
// "Replace with 'newFun(*elements)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
@Deprecated("", ReplaceWith("newFun(*elements)"))
|
||||||
fun oldFun(vararg elements: java.io.File?) {
|
fun oldFun(vararg elements: java.io.File?) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Short){
|
fun oldFun(vararg p: Short){
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p)'" "true"
|
// "Replace with 'newFun(p)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p)"))
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
||||||
fun oldFun(vararg p: Short){
|
fun oldFun(vararg p: Short){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int){
|
fun oldFun(p1: String, vararg p2: Int){
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, p2)'" "true"
|
// "Replace with 'newFun(p1, p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int) {
|
fun oldFun(p1: String, vararg p2: Int) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, p2)'" "true"
|
// "Replace with 'newFun(p1, p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
|
||||||
fun oldFun(p1: String, vararg p2: Int) {
|
fun oldFun(p1: String, vararg p2: Int) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, p2: IntArray) {
|
fun oldFun(p1: String, p2: IntArray) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Replace with 'newFun(p1, *p2)'" "true"
|
// "Replace with 'newFun(p1, *p2)'" "true"
|
||||||
|
// WITH_RUNTIME
|
||||||
|
|
||||||
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
||||||
fun oldFun(p1: String, p2: IntArray) {
|
fun oldFun(p1: String, p2: IntArray) {
|
||||||
|
|||||||
Vendored
+1
@@ -2,6 +2,7 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make private
|
// ACTION: Make private
|
||||||
// ACTION: Make protected
|
// ACTION: Make protected
|
||||||
|
// WITH_RUNTIME
|
||||||
class A {
|
class A {
|
||||||
<caret>val n: Int by lazy { 0 }
|
<caret>val n: Int by lazy { 0 }
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
// "Fix with 'asDynamic'" "true"
|
||||||
|
// JS
|
||||||
|
|
||||||
class A
|
class A
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
// "Fix with 'asDynamic'" "true"
|
||||||
|
// JS
|
||||||
|
|
||||||
class A
|
class A
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user