Intentions: Move class member to companion object
#KT-9697 In Progress
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// SHOULD_FAIL_WITH: Function <b><code>foo</code></b> is overridden by declaration(s) in a subclass
|
||||
open class A {
|
||||
open fun <caret>foo() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B: A() {
|
||||
override fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user