Rename "Remove no constructor" to "Remove constructor call"; fix test
This commit is contained in:
@@ -28,7 +28,7 @@ import org.jetbrains.kotlin.psi.psiUtil.getStrictParentOfType
|
|||||||
|
|
||||||
class RemoveNoConstructorFix(constructor: KtValueArgumentList) : KotlinQuickFixAction<KtValueArgumentList>(constructor) {
|
class RemoveNoConstructorFix(constructor: KtValueArgumentList) : KotlinQuickFixAction<KtValueArgumentList>(constructor) {
|
||||||
|
|
||||||
override fun getText() = "Remove no constructor"
|
override fun getText() = "Remove constructor call"
|
||||||
|
|
||||||
override fun getFamilyName() = text
|
override fun getFamilyName() = text
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
@@ -1,5 +1,6 @@
|
|||||||
// "Create secondary constructor" "false"
|
// "Create secondary constructor" "false"
|
||||||
// ERROR: This class does not have a constructor
|
// ERROR: This class does not have a constructor
|
||||||
|
// ACTION: Remove constructor call
|
||||||
|
|
||||||
interface T {
|
interface T {
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// "Remove no constructor" "true"
|
// "Remove constructor call" "true"
|
||||||
|
|
||||||
interface Base
|
interface Base
|
||||||
class Derived : Base()<caret>
|
class Derived : Base()<caret>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// "Remove no constructor" "true"
|
// "Remove constructor call" "true"
|
||||||
|
|
||||||
interface Base
|
interface Base
|
||||||
class Derived : Base
|
class Derived : Base
|
||||||
Reference in New Issue
Block a user