Rename "Remove no constructor" to "Remove constructor call"; fix test

This commit is contained in:
Dmitry Jemerov
2017-06-02 17:56:23 +02:00
parent bb5681fdb5
commit 558203e2bb
4 changed files with 4 additions and 3 deletions
@@ -28,7 +28,7 @@ import org.jetbrains.kotlin.psi.psiUtil.getStrictParentOfType
class RemoveNoConstructorFix(constructor: KtValueArgumentList) : KotlinQuickFixAction<KtValueArgumentList>(constructor) {
override fun getText() = "Remove no constructor"
override fun getText() = "Remove constructor call"
override fun getFamilyName() = text
@@ -1,5 +1,6 @@
// "Create secondary constructor" "false"
// ERROR: This class does not have a constructor
// ACTION: Remove constructor call
interface T {
+1 -1
View File
@@ -1,4 +1,4 @@
// "Remove no constructor" "true"
// "Remove constructor call" "true"
interface Base
class Derived : Base()<caret>
+1 -1
View File
@@ -1,4 +1,4 @@
// "Remove no constructor" "true"
// "Remove constructor call" "true"
interface Base
class Derived : Base