Implement Abstract Member Intention: Support primary constructor parameters

#KT-8427 Fixed
This commit is contained in:
Alexey Sedunov
2015-12-24 17:13:53 +03:00
committed by Alexey
parent 2b4f03feef
commit aeefdffaab
34 changed files with 389 additions and 55 deletions
@@ -0,0 +1,17 @@
// IS_APPLICABLE: false
// ERROR: Class 'C' must be declared abstract or implement abstract base class member public abstract val foo: kotlin.Int defined in B
interface A {
val <caret>foo: Int
}
class X : A {
override val foo = 1
}
abstract class B : A {
abstract override val foo: Int
}
class C: B() {
}