Files
kotlin-fork/idea/testData/intentions/moveToCompanion/overriddenFunction.kt
T
2016-08-10 11:45:29 +03:00

12 lines
203 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() {
}
}