FIR IDE: quickfix to add override keyword
Also enables more tests that covers previous quickfixes
This commit is contained in:
committed by
Ilya Kirillov
parent
1658f4433d
commit
90a0c9bb25
@@ -5,3 +5,4 @@ open class A {
|
||||
}
|
||||
|
||||
class B : A<caret> {}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -18,3 +18,4 @@ interface Z {
|
||||
class B : A(), X, Y, Z {
|
||||
override<caret> fun foo() {}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -16,3 +16,4 @@ class B(y: XX) : A(y) {
|
||||
override<caret> fun foo() {
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -16,3 +16,4 @@ class B() : Y {
|
||||
override<caret> fun foo() {
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -5,4 +5,5 @@ open class A {
|
||||
|
||||
class B : A() {
|
||||
override<caret> fun foo() {}
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -7,4 +7,5 @@ fun test() {
|
||||
val some = object : A() {
|
||||
<caret>override fun foo() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -5,4 +5,5 @@ open class A {
|
||||
|
||||
class B : A() {
|
||||
override<caret> var x = 24;
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
+1
@@ -13,3 +13,4 @@ class B : A(), X {
|
||||
return agr
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
@@ -9,3 +9,4 @@ class B : A() {
|
||||
return agr
|
||||
}
|
||||
}
|
||||
/* IGNORE_FIR */
|
||||
|
||||
Reference in New Issue
Block a user