diff --git a/idea/testData/quickfix/addStarProjections/cast/extensionReceiver.kt b/idea/testData/quickfix/addStarProjections/cast/extensionReceiver.kt index 275d956dcc3..3b3dae3cd63 100644 --- a/idea/testData/quickfix/addStarProjections/cast/extensionReceiver.kt +++ b/idea/testData/quickfix/addStarProjections/cast/extensionReceiver.kt @@ -1,6 +1,4 @@ // "Change type arguments to <*>" "false" -// ACTION: Convert to run -// ACTION: Convert to with fun test(a: Any) { (a as List).bar() } diff --git a/idea/testData/quickfix/addStarProjections/cast/extensionReceiver2.kt b/idea/testData/quickfix/addStarProjections/cast/extensionReceiver2.kt index 6e5c317f398..4ab2570af88 100644 --- a/idea/testData/quickfix/addStarProjections/cast/extensionReceiver2.kt +++ b/idea/testData/quickfix/addStarProjections/cast/extensionReceiver2.kt @@ -1,6 +1,4 @@ // "Change type arguments to <*, *>" "false" -// ACTION: Convert to run -// ACTION: Convert to with fun test(a: Any) { (a as Map).bar() } diff --git a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt index 2133f15b0f1..6c12a1600bd 100644 --- a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt @@ -3,8 +3,6 @@ // ACTION: Convert property initializer to getter // ACTION: Create class 'SomeTest' // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: SomeTest package testing diff --git a/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt b/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt index 0aaa7e86929..43287087cbe 100644 --- a/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt +++ b/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithLibClassQualifier.kt @@ -1,8 +1,6 @@ // "Create class 'Foo'" "false" // ACTION: Create extension function 'Int.Foo' // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: Foo // WITH_RUNTIME diff --git a/idea/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt b/idea/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt index 3844f102dc8..f9d8ca98b67 100644 --- a/idea/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt +++ b/idea/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/extension.kt @@ -1,8 +1,6 @@ // "Create class 'Foo'" "false" // ACTION: Create extension function 'List.Foo' // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: Foo // WITH_RUNTIME diff --git a/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt index 098002e2379..009bf228daa 100644 --- a/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt +++ b/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt @@ -3,8 +3,6 @@ // ACTION: Create member function 'B.foo' // ACTION: Rename reference // ACTION: Add 'b =' to argument -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: foo abstract class A { fun bar(b: Boolean) {} diff --git a/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt index 0a3d39790f1..47a03bc1e4d 100644 --- a/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt +++ b/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.kt @@ -1,7 +1,5 @@ // "Create member function 'foo'" "false" // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: foo class A(val n: T) diff --git a/idea/testData/quickfix/createFromUsage/createFunction/call/funOnGroovyType.before.Main.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/funOnGroovyType.before.Main.kt index 1e0bd5d770b..2a1cbcdd97f 100644 --- a/idea/testData/quickfix/createFromUsage/createFunction/call/funOnGroovyType.before.Main.kt +++ b/idea/testData/quickfix/createFromUsage/createFunction/call/funOnGroovyType.before.Main.kt @@ -1,8 +1,6 @@ // "Create member function 'foo'" "false" // ACTION: Create extension function 'A.foo' // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: foo fun test(): Int { diff --git a/idea/testData/quickfix/createFromUsage/createFunction/call/propertyOnUserType.kt b/idea/testData/quickfix/createFromUsage/createFunction/call/propertyOnUserType.kt index 80ac430412d..0c1f71f7b56 100644 --- a/idea/testData/quickfix/createFromUsage/createFunction/call/propertyOnUserType.kt +++ b/idea/testData/quickfix/createFromUsage/createFunction/call/propertyOnUserType.kt @@ -1,7 +1,5 @@ // "Create member function 'foo'" "false" // ACTION: Add names to call arguments -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: x class A(val n: T) { diff --git a/idea/testData/quickfix/createFromUsage/createVariable/property/callOnUserType.kt b/idea/testData/quickfix/createFromUsage/createVariable/property/callOnUserType.kt index cd908cfb825..e188c075ccf 100644 --- a/idea/testData/quickfix/createFromUsage/createVariable/property/callOnUserType.kt +++ b/idea/testData/quickfix/createFromUsage/createVariable/property/callOnUserType.kt @@ -2,8 +2,6 @@ // ACTION: Create extension function 'A.bar' // ACTION: Create member function 'A.bar' // ACTION: Rename reference -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Unresolved reference: bar // ERROR: Unresolved reference: foo diff --git a/idea/testData/quickfix/experimental/basicFunctionNotApplicable.kt b/idea/testData/quickfix/experimental/basicFunctionNotApplicable.kt index f365103c9f1..488f55d3b29 100644 --- a/idea/testData/quickfix/experimental/basicFunctionNotApplicable.kt +++ b/idea/testData/quickfix/experimental/basicFunctionNotApplicable.kt @@ -4,8 +4,6 @@ // ACTION: Add '@MyExperimentalAPI' annotation to containing class 'Bar' // ACTION: Add '@UseExperimental(MyExperimentalAPI::class)' annotation to 'bar' // ACTION: Add '-Xuse-experimental=MyExperimentalAPI' to module light_idea_test_case compiler arguments -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: This declaration is experimental and its usage must be marked with '@MyExperimentalAPI' or '@UseExperimental(MyExperimentalAPI::class)' // ERROR: This declaration is experimental and its usage must be marked with '@MyExperimentalAPI' or '@UseExperimental(MyExperimentalAPI::class)' diff --git a/idea/testData/quickfix/increaseVisibility/invisibleFake/methodToNotProtected.kt b/idea/testData/quickfix/increaseVisibility/invisibleFake/methodToNotProtected.kt index 2cf01b95b68..5eecc54a17b 100644 --- a/idea/testData/quickfix/increaseVisibility/invisibleFake/methodToNotProtected.kt +++ b/idea/testData/quickfix/increaseVisibility/invisibleFake/methodToNotProtected.kt @@ -1,8 +1,6 @@ // "Make 'doSth' protected" "false" // ACTION: Make 'doSth' public // ACTION: Make 'doSth' internal -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Cannot access 'doSth': it is private in 'A' class A { diff --git a/idea/testData/quickfix/increaseVisibility/privateMemberToInternalWithExposed.kt b/idea/testData/quickfix/increaseVisibility/privateMemberToInternalWithExposed.kt index 133ade3b598..e483b3a3252 100644 --- a/idea/testData/quickfix/increaseVisibility/privateMemberToInternalWithExposed.kt +++ b/idea/testData/quickfix/increaseVisibility/privateMemberToInternalWithExposed.kt @@ -3,8 +3,6 @@ // ACTION: Convert property initializer to getter // ACTION: Add names to call arguments // ACTION: Move to constructor -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Cannot access 'bar': it is private in 'First' private data class Data(val x: Int) diff --git a/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeInvokeWithReceiver.kt b/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeInvokeWithReceiver.kt index b9baa26ad60..0977c5b121e 100644 --- a/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeInvokeWithReceiver.kt +++ b/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeInvokeWithReceiver.kt @@ -2,8 +2,6 @@ // ACTION: Convert to block body // ACTION: Replace overloaded operator with function call // ACTION: Wrap with '?.let { ... }' call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Reference has a nullable type '(String.() -> Unit)?', use explicit '?.invoke()' to make a function-like call instead fun foo(exec: (String.() -> Unit)?) = "".exec() \ No newline at end of file diff --git a/idea/testData/quickfix/surroundWithNullCheck/chainedUnsafeCall.kt b/idea/testData/quickfix/surroundWithNullCheck/chainedUnsafeCall.kt index b69b0d55e5b..1d46e1cd8cc 100644 --- a/idea/testData/quickfix/surroundWithNullCheck/chainedUnsafeCall.kt +++ b/idea/testData/quickfix/surroundWithNullCheck/chainedUnsafeCall.kt @@ -2,8 +2,6 @@ // ACTION: Introduce local variable // ACTION: Add non-null asserted (!!) call // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int? fun foo(arg: Int?) { diff --git a/idea/testData/quickfix/surroundWithNullCheck/expressionUnsafeCall.kt b/idea/testData/quickfix/surroundWithNullCheck/expressionUnsafeCall.kt index ca583b5a1bd..ce71690956a 100644 --- a/idea/testData/quickfix/surroundWithNullCheck/expressionUnsafeCall.kt +++ b/idea/testData/quickfix/surroundWithNullCheck/expressionUnsafeCall.kt @@ -3,8 +3,6 @@ // ACTION: Convert to block body // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int? fun foo(arg: Int?) = arg.hashCode() \ No newline at end of file diff --git a/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInDeclaration.kt b/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInDeclaration.kt index b317da9f107..d65aaa6ca48 100644 --- a/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInDeclaration.kt +++ b/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInDeclaration.kt @@ -1,8 +1,6 @@ // "Surround with null check" "false" // ACTION: Add non-null asserted (!!) call // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String? fun foo(s: String?) { diff --git a/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInGetter.kt b/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInGetter.kt index b9b49d074d1..f3704618a4d 100644 --- a/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInGetter.kt +++ b/idea/testData/quickfix/surroundWithNullCheck/unsafeCallInGetter.kt @@ -4,8 +4,6 @@ // ACTION: Convert to block body // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String? class My(val x: String?) { diff --git a/idea/testData/quickfix/variables/changeToPropertyAccess/propertyCallWithArguments.kt b/idea/testData/quickfix/variables/changeToPropertyAccess/propertyCallWithArguments.kt index 67802988776..49d119b420a 100644 --- a/idea/testData/quickfix/variables/changeToPropertyAccess/propertyCallWithArguments.kt +++ b/idea/testData/quickfix/variables/changeToPropertyAccess/propertyCallWithArguments.kt @@ -1,6 +1,4 @@ // "Change to property access" "false" -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Expression 'fd' of type 'String' cannot be invoked as a function. The function 'invoke()' is not found class A(val fd: String) diff --git a/idea/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt b/idea/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt index 37206973fb4..e2751de2138 100644 --- a/idea/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt +++ b/idea/testData/quickfix/wrapWithSafeLetCall/chainedUnsafeCall.kt @@ -3,8 +3,6 @@ // ACTION: Add non-null asserted (!!) call // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int? fun foo(arg: Int?) { diff --git a/idea/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt b/idea/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt index 41debe2b3a6..dc6bcb44f99 100644 --- a/idea/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt +++ b/idea/testData/quickfix/wrapWithSafeLetCall/expressionUnsafeCall.kt @@ -4,8 +4,6 @@ // ACTION: Convert to block body // ACTION: Introduce local variable // ACTION: Replace with safe (?.) call -// ACTION: Convert to run -// ACTION: Convert to with // ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int? fun Int.bar() = this