Files
kotlin-fork/idea/testData/intentions/moveToCompanion/overriddenFunction.kt
T
Alexey Sedunov d13ac6b5a4 Intentions: Move class member to companion object
#KT-9697 In Progress
2016-02-04 12:26:18 +03:00

12 lines
201 B
Kotlin
Vendored

// 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() {
}
}