Fixed KT-4431 Override/implement val: generate getter instead of initializer

#KT-4431 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-05 07:02:30 +03:00
parent eae4cdbd8f
commit 4b9bcce07a
9 changed files with 44 additions and 26 deletions
@@ -6,7 +6,9 @@ open class A() {
class C : A() {
val constant = 42
// Some comment
override val bar: Int = <selection><caret>0</selection>
override val bar: Int
get() = <selection><caret>0</selection>
override fun equals(other: Any?): Boolean {
return super<A>.equals(other)
}