Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes.
This commit is contained in:
committed by
Andrey Breslav
parent
e96cf045dd
commit
d4fc814d76
@@ -1,5 +1,6 @@
|
||||
// "Change function signature to 'override fun f(a: Int)'" "false"
|
||||
// ERROR: 'f' overrides nothing
|
||||
// ACTION: Add 'open fun f(a: String)' to 'A'
|
||||
// ACTION: Remove 'override' modifier
|
||||
open class A {
|
||||
open fun foo() {}
|
||||
|
||||
Reference in New Issue
Block a user