Intentions: Move class member to companion object

#KT-9697 In Progress
This commit is contained in:
Alexey Sedunov
2016-01-29 15:02:19 +03:00
parent fe8a0ec2bc
commit d13ac6b5a4
70 changed files with 1417 additions and 45 deletions
@@ -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() {
}
}