Quickfix for NOTHING_TO_OVERRIDE

This commit is contained in:
Michał Sapalski
2013-03-02 15:08:00 +01:00
committed by Andrey Breslav
parent 231457df8e
commit 01c4826b06
51 changed files with 1169 additions and 159 deletions
@@ -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) {}
}