Quickfix for NOTHING_TO_OVERRIDE
This commit is contained in:
committed by
Andrey Breslav
parent
3760922e84
commit
5b1f93b42e
@@ -0,0 +1,11 @@
|
||||
// "Change function signature to 'override fun f(a: Int)'" "false"
|
||||
// ERROR: 'f' overrides nothing
|
||||
// ACTION: Remove 'override' modifier
|
||||
open class A {
|
||||
open fun foo() {}
|
||||
fun f(a: Int) {}
|
||||
}
|
||||
|
||||
class B : A(){
|
||||
<caret>override fun f(a: String) {}
|
||||
}
|
||||
Reference in New Issue
Block a user