Override property calls super when its not abstract

This commit is contained in:
Valentin Kipyatkov
2014-12-18 17:15:14 +03:00
parent 5f2446d889
commit c882e902c3
4 changed files with 41 additions and 29 deletions
@@ -7,7 +7,7 @@ class C : A() {
val constant = 42
// Some comment
override val bar: Int
get() = <selection><caret>throw UnsupportedOperationException()</selection>
get() = <selection><caret>super.bar</selection>
override fun equals(other: Any?): Boolean {
return super.equals(other)