Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes.

This commit is contained in:
Michał Sapalski
2013-04-22 15:26:54 +02:00
committed by Andrey Breslav
parent e96cf045dd
commit d4fc814d76
22 changed files with 504 additions and 13 deletions
@@ -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() {}